Issue Type: Bug Bug
Assignee: Sam Kottler
Components: github-oauth-plugin
Created: 20/Feb/15 12:37 AM
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?

Environment: Jenkins 1.599
github-oauth plugin 0.20
Project: Jenkins
Labels: oauth github
Priority: Major Major
Reporter: Eric Heydrick
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to