This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It took me a while, after multiple knocks on all openstack/cloudbees/jenkins IRCs and googling around, all of them proved to be fruitless that I finally figure what the deal about this parameter all about? | |
before posting the exact details, i just have a little rant : WHY IS THIS NOT IN THE DOCS OF JENKINS JOB BUILDER (JJB ) ??? | |
Jenkins job builder docs are pretty concise and dont go into much details, | |
but anyway: | |
================================= | |
what is credentials-id parameter? | |
================================= | |
so you are writing a yaml file for your job 'foo.yaml' and you need to use a git repo, lets say its in github, | |
now github private repos are snowflaky where you need to provide credentials to github in order to clone them. Following is step-by-step howto: |