-
Notifications
You must be signed in to change notification settings - Fork 13
SCM credentials
Damien Coraboeuf edited this page Jun 13, 2016
·
3 revisions
In many circumstances, projects and branches will need to provide some credentials in order to access their SCM.
First of all, the credentials must be defined in Jenkins and their UUID or ID must be known.
SCM credentials are associated with a project when the Project seed is created. Their UUID is available as PROJECT_SCM_CREDENTIALS
and this variable can be accessed in all scripts.
In order to configure the credentials, start by allowing the Seed job to fill the Project SCM credentials parameter:
Then parameter can then be used to configure the Project folder generation step: