Meng Xin Zhu created JENKINS-13744:
--------------------------------------

             Summary: Can't build job with project-based security even the user 
is an adminstrator via CLI
                 Key: JENKINS-13744
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13744
             Project: Jenkins
          Issue Type: Bug
          Components: cli
         Environment: Jenkins 1.451,

            Reporter: Meng Xin Zhu


Use private key and public key for authentication.

The job has project-based security, and anonymous even can't read it. The 
running user is an administrator and added in the project-based list to run it.


java -jar jenkins-cli.jar -s http://szg-build.wrs.com:8080 who-am-i
Authenticated as: kzhu0
Authorities:
  users
  authenticated

java -jar jenkins-cli.jar -s http://szg-build.wrs.com:8080 get-job myjob
No such job 'myjob' perhaps you meant 'Core - Scripting'?



--
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

        

Reply via email to