Branch: refs/heads/jenkins-cli-token
  Home:   https://github.com/jenkinsci/github-oauth-plugin
  Commit: d9f6ee0771dab210b9c88865e6c74cc5de58679e
      
https://github.com/jenkinsci/github-oauth-plugin/commit/d9f6ee0771dab210b9c88865e6c74cc5de58679e
  Author: Sam Gleske <sam.mxra...@gmail.com>
  Date:   2017-02-26 (Sun, 26 Feb 2017)

  Changed paths:
    M src/main/java/org/jenkinsci/plugins/GithubSecurityRealm.java

  Log Message:
  -----------
  [JENKINS-27045] Jenkins CLI --username/--password

options.

Here's an example:

    java -jar jenkins-cli.jar -s http://localhost:8080 -noKeyAuth who-am-i \
      --username samrocketman --password-file ./personal-access-token

Unfortunately, Jenkins core prevents Jenkins CLI LoginCommand from
working correctly because it only stores the Username and mishandles
creating the authentication token.  This is a [bug in core][1].

[1]: 
https://github.com/jenkinsci/jenkins/blob/jenkins-2.47/core/src/main/java/hudson/cli/ClientAuthenticationCache.java#L65-L75


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to