diff --git a/Jenkinsfile b/Jenkinsfile index 3bd5813..a10df0e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,18 +20,34 @@ */ // Load Jenkins shared libraries common to all projects -def libCmn = [ +def libLazy = [ remote: 'https://code.in.digital-me.nl/git/DEVops/JenkinsLibLazy.git', branch: env.BRANCH_NAME, credentialsId: null, ] library( - identifier: "libCmn@${libCmn.branch}", + identifier: "libLazy@${libLazy.branch}", retriever: modernSCM([ $class: 'GitSCMSource', - remote: libCmn.remote, - credentialsId: libCmn.credentialsId + remote: libLazy.remote, + credentialsId: libLazy.credentialsId + ]) +) + +// Load Jenkins shared libraries to customize this project +def libCustom = [ + remote: 'ssh://git@code.in.digital-me.nl:2222/DEVops/JenkinsLibCustom.git', + branch: 'master', + credentialsId: 'bot-ci-dgm-rsa', +] + +library( + identifier: "libCustom@${libCustom.branch}", + retriever: modernSCM([ + $class: 'GitSCMSource', + remote: libCustom.remote, + credentialsId: libCustom.credentialsId ]) )