Looks like this is the known issue 
https://issues.jenkins-ci.org/browse/JENKINS-12543 which is also where a 
workaround is provided in the comments.

On 04.05.2015, at 21:34, David Dominguez <[email protected]> wrote:

> Is this issue solved I have the same problem:
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Thursday, September 5, 2013 at 9:58:22 PM UTC-5, viola lu wrote:
> 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].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/7c9d3c0f-483a-4b8a-9eb1-bb865bf891d9%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/A5BBF758-30DF-4F51-8909-1D2055FA8018%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to