Mike Conigliaro created JENKINS-12941:
-----------------------------------------
Summary: jenkins-cli.jar update-job does not work when using
authentication
Key: JENKINS-12941
URL: https://issues.jenkins-ci.org/browse/JENKINS-12941
Project: Jenkins
Issue Type: Bug
Components: core
Affects Versions: current
Environment: Ubuntu
Reporter: Mike Conigliaro
Note that this only seems to happen when I enable authentication.
{code}
$ java -jar /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar -s
http://localhost:8080 -i /var/lib/jenkins/.ssh/id_rsa update-job test <
/var/lib/jenkins/jobs/test.xml
No such job 'test'
$ java -jar /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar -s
http://localhost:8080 -i /var/lib/jenkins/.ssh/id_rsa create-job test <
/var/lib/jenkins/jobs/test.xml
Job 'test' already exists
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira