Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unhandled exception when running 'paket config add-credentials' in Jenkins pipeline #2884
I have just discovered that trying to run 'paket config add-credentials' within a Jenkins pipeline fails due to trying to do a Console.ReadLine(). This returns null in the context of a Jenkins build and throws a System.NullReferenceException.
The default authentication type of basic is taken and the command adds the authentication details.
If you supply