Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
Linux AWS, 64 bit
Description
I am using Jenkins 1.448, with 'Jenkins own user database' and 'Project-
based Matrix Authorization Strategy'. I am able to get CLI to work as
anonymous with permissions Overall build, Job read, and Job build enabled using
the following command:
java -jar jenkins-cli.jar -s http://my.domain.com:8080/ build -c
myJobName
However, when I try to do this as an authenticated user:
java -jar jenkins-cli.jar -s http://my.domain.com:8080/ build -c
myJobName --username myUsername --password myPassword
I get the following error:
No such job 'myJobName'
If I however have Build read for anonymous checked, it works even though I have it
checked for my other username also.
Attachments
Issue Links
- is blocking
-
JENKINS-14745 CLI is not parsing arguments with remote user authentication set
-
- Resolved
-
- is duplicated by
-
JENKINS-7791 CLI authenticated mode not working
-
- Resolved
-
-
JENKINS-23975 CLI "No such job" when get-job unless anonymous has Job/Read permission
-
- Resolved
-
-
JENKINS-37510 jenkins CLI unable to build ERROR: No such job
-
- Resolved
-
- is related to
-
JENKINS-23988 @CLIMethods do not support authentication via SecurityRealm's CLIAuthenticator
-
- Resolved
-
- relates to
-
JENKINS-41745 Remoting-free CLI
-
- Resolved
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Priority | Minor [ 4 ] | Major [ 3 ] |
Component/s | core [ 15593 ] | |
Component/s | cli [ 15624 ] | |
Labels | cli security | |
Priority | Major [ 3 ] | Critical [ 2 ] |
Summary | CLI permissions | CliAuthenticator (username/password) called too late to parse arguments (like job names) |
Link |
This issue is blocking |
Link |
This issue is duplicated by |
Link |
This issue is related to |
Priority | Critical [ 2 ] | Minor [ 4 ] |
Workflow | JNJira [ 142909 ] | JNJira + In-Review [ 175779 ] |
Link |
This issue is duplicated by |
Link |
This issue is duplicated by |
Link |
This issue relates to |
Resolution | Won't Fix [ 2 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Remote Link | This issue links to "CloudBees Internal OSS-260 (Web Link)" [ 18932 ] |