|
||||||||
|
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/groups/opt_out.

You can get the credentials from the JobManagement interface. Here is an example how I set the credentials for the new Git Plugin 2.0:
gitHubCredentials = jm.getCredentialsId('my-credentials-description')job { .. scm { github('some/project', branch) { it / userRemoteConfigs / 'hudson.plugins.git.UserRemoteConfig' / credentialsId(gitHubCredentials) } } .. }