[JIRA] (JENKINS-12543) CliAuthenticator (username/password) called too late to parse arguments (like job names)
Title: Message Title Matthias T commented on JENKINS-12543 Re: CliAuthenticator (username/password) called too late to parse arguments (like job names) I ran into this issue with Jenkins 2.19.2. Calling aforementioned java -jar /opt/jenkins-cli.jar -s http://jenkins-url.com get-job JobA --username admin --password ... gives the same "No such job" error. My workaround was: Install the Extended Read Permission Plugin Global security option "Matrix based security" has to be active Right "Job - Extended Read" has to be activated for user anonymous For "authenticated" users all rights can be activated Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-12543) CliAuthenticator (username/password) called too late to parse arguments (like job names)
Title: Message Title Matthias T edited a comment on JENKINS-12543 Re: CliAuthenticator (username/password) called too late to parse arguments (like job names) I ran into this issue with Jenkins 2.19.2. Calling aforementioned{code}java -jar /opt/jenkins-cli.jar -s http://jenkins-url.com get-job JobA --username admin --password ...{code}gives the same "No such job" error. My workaround was:* Install the Extended Read Permission Plugin* Global security option "Matrix based security" has to be active* Right "Job - Extended Read" has to be activated for user anonymous * For "authenticated" users all rights can be activated * Use java -jar /opt/jenkins-cli.jar -s http://jenkins-url.com get-job JobA without credentials Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.