-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Centos
I am trying for initiating a build through jenkins-cli.
downloaded the jenkins-cli.jar and running like
java -jar jenkins-cli.jar -s http://<IP Address>:8080/ login --username xxxx --password xxxx
it worksfine
and I have created one Jenkins job using CLi tool by taking some jenkins jobs xml file as reference using below command
cat config.xml |java -jar jenkins-cli.jar -s http://<IP Address>:8080/ create-job TEST_AUTO
TEST_AUTO job got created .
while initiating a build using command
java -jar jenkins-cli.jar -s http://<IP Address>:8080/ build TEST_AUTO
ERROR: No such job 'TEST_AUTO'
but if we list all jobs using below cli command it lists all jobs fine.
java -jar jenkins-cli.jar -s http://<IP Address>:8080/ list-jobs
can you please let us know the solution whether build command to work do we need to change any configuration changes .
I am planing to initiate a build with parameters actually..using CLI jenkins
Thanks in Advance..
Regards,
Siva
- duplicates
-
JENKINS-12543 CliAuthenticator (username/password) called too late to parse arguments (like job names)
- Resolved