Got "no such job" when trigger a build with jenkins-cli 1.525 as an administrator permission after enable LDAP and role strategy security

1,495 views
Skip to first unread message

viola lu

unread,
Sep 5, 2013, 10:58:22 PM9/5/13
to jenkins...@googlegroups.com
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?

David Dominguez

unread,
May 4, 2015, 3:34:54 PM5/4/15
to jenkins...@googlegroups.com
Is this issue solved I have the same problem:

Daniel Beck

unread,
May 4, 2015, 4:13:17 PM5/4/15
to jenkins...@googlegroups.com
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 <davd...@gmail.com> wrote:

> Is this issue solved I have the same problem:
>
>
>
>
>
>
>
>
>
> --
> 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 jenkinsci-use...@googlegroups.com.
> 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.

Reply all
Reply to author
Forward
0 new messages