diff --git a/Jenkinsfile b/Jenkinsfile index 1d63bcc..58fef3c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,11 +1,17 @@ #!/usr/bin/env groovy +def libInit =[ + remote: 'https://code.digital-me.nl/git/DEVops/DummyJnkLibInit.git', + branch: 'master', + credentialsId: null, +] + try { echo 'Trying to load shared libraries...' - library identifier: "libInit@${params.libBranch}", retriever: modernSCM( + library identifier: "libInit@${libInit.branch}", retriever: modernSCM( [$class: 'GitSCMSource', - remote: '', - credentialsId: null] + remote: libInit.remote, + credentialsId: libInit.credentialsId] ) echo 'Shared library loaded' } catch (error) {