jenkins-shared-libraries
jenkins-pipelines
Shared Libraries needed to run our YAML data-drivenHere are the steps required to set this up manually in a Jenkins master
- Click Jenkins/Manage Jenkins
- Goto Global Pipeline Libraries
- Set Library Name to 'jenkins-shared-libraries'
- Set Default Version to 'master'
- Set Load implicitly to 'false'
- Set Allow default version to be overridden to 'true'
- Set Include @Library changes in job recent changes to 'true'
- Set Retrieval method to 'Modern SCM'
- Goto Source Code Management section and ...
- Set Project Repository to 'https://github.com/pentaho/pentaho-jenkins-shared-libraries.git'
- Set Credentials to a Jenkins credential with read access to that repository (possbily 'github-buildguy')
- Click the Behviors Add button and add 'Discover branches'
- Save the configuration changes.
CPS Warning
@NonCPS annotated methods cannot call CPS transformed code! Take that in consideration when annotating something with @NonCPS.