Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: github-oauth-plugin
-
Environment:Jenkins 1.599
github-oauth plugin 0.20
-
Similar Issues:
Description
I'm using the github-oauth plugin for authentication and the Github Commiter Authorization Strategy and I'm unable to use the jenkins-cli with it. Running this command:
java -jar jenkins-cli.jar -s http://localhost:8080 who-am-i --username <username> --password <jenkins-api-token>
results in an error:
"--username" is not a valid option
java -jar jenkins-cli.jar who-am-i
Reports your credential and permissions.
I've also tried ssh key auth with the -i flag but get a similar error about -i being an invalid option.
Is there another way to use jenkins-cli with github auth?
Attachments
Issue Links
- is related to
-
JENKINS-43822 Jenkins-cli seems to not support anything different from Github token
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Sam Kottler [ skottler ] | Sam Gleske [ sag47 ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Resolution | Cannot Reproduce [ 5 ] | |
Status | Reopened [ 4 ] | Closed [ 6 ] |
Resolution | Cannot Reproduce [ 5 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Workflow | JNJira [ 161237 ] | JNJira + In-Review [ 186271 ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Link |
This issue is related to |
This seems to be the case when using the google-login-plugin as well, not just limited to the github plugin.