diff --git a/workflows/pr_gate/Jenkinsfile b/workflows/pr_gate/Jenkinsfile index d745960..e455467 100644 --- a/workflows/pr_gate/Jenkinsfile +++ b/workflows/pr_gate/Jenkinsfile @@ -1,8 +1,8 @@ -@Library('my_library') _ +def lib = library("my_library@$BRANCH_NAME") node{ timestamps{ - def manifest = new pipeline.common.Manifest() - def unit_test = new pipeline.rackhd.source_code.UnitTest() + def manifest = new lib.pipeline.common.Manifest() + def unit_test = new lib.pipeline.rackhd.source_code.UnitTest() manifest.downloadManifest("https://dl.bintray.com/rackhd/binary/master-20170806","master-20170806") stash name: "prgate_manifest", includes: "master-20170806"