diff --git a/Jenkinsfile b/Jenkinsfile index 90615b5..f3a8293 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,24 +4,22 @@ // Load Jenkins shared libraries for all Hypeledger Indy project def libIndy = [ - scmClass: 'GitSCMSource', - scmURL: 'https://github.com/digital-me/indy-jenkins-lib.git', - scmBranch: 'draft-01', - scmCredentialsId: null, + remote: 'https://github.com/digital-me/indy-jenkins-lib.git', + branch: 'draft-01', + credentialsId: null, ] library( - identifier: "libIndy@${libIndy.scmBranch}", + identifier: "libIndy@${libIndy.branch}", retriever: modernSCM([ - $class: libIndy.scmClass, - remote: libIndy.scmURL, - credentialsId: libIndy.scmCredentialsId + $class: 'GitSCMSource', + remote: libIndy.remote, + credentialsId: libIndy.credentialsId ]) ) // Initialize configuration -def config = initConfig(env.JOB_NAME) - +def config = initConfig('dummy-jenkins-pl') // CI Pipeline stValidate(config)