I have setup a jenkins server and enable LDAP and role strategy security. I 
can build jobs in UI as administrator account. But if i trigger builds via 
jenkins-cli , it failed, and reported an error" no such job ." 

icap@icap-build-linux-5:/icap/jazz_build/build/Core_Sonar/ant_build/lib$ 
java -jar jenkins-cli.jar -s http://9.111.211.30:8080/ version --username 
** --password **
1.525
icap@icap-build-linux-5:/icap/jazz_build/build/Core_Sonar/ant_build/lib$ 
java -jar jenkins-cli.jar -s http://9.111.211.30:8080/ list-jobs --username 
** --password **

Setup_Jenkins
test
testSlave1
Upload_Artifacts_and_Result

icap@icap-build-linux-5:/icap/jazz_build/build/Core_Sonar/ant_build/lib$ 
java -jar jenkins-cli.jar -s http://9.111.211.30:8080/ build test 
--username ** --password **

*No such job 'test'*

Is this a bug?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to