I'm using Jenkins version 1.576 and face the problem with using username/password on CLICommand.
I tried to upgrade Jenkins to 1.577 but still facing the problem.
I upgraded to Jenkins to 1.584 and the problem exist.
All WAR file downloaded from http://mirrors.jenkins-ci.org/war/
Since Jenkins is under Apache-Tomcat (on Unix Redhat OS) I renamed the old jenkins folder under ../webapps but it didn't help.
of cource that I update also the jenkins-cli.jar that I use, related to the Jenkins version upgraded.
Any advice what to do?
Thanks
Code changed in jenkins
User: Daniel Beck
Path:
core/src/main/java/hudson/cli/declarative/CLIRegisterer.java
test/src/test/java/hudson/cli/CLIRegistererTest.java
http://jenkins-ci.org/commit/jenkins/867884f6328a4a16899c49859230442b5316aee1
Log:
[FIXED JENKINS-23988] Consider CLIAuthenticator for CLIMethods