diff options
Diffstat (limited to 'vars/buildPackage.groovy')
-rw-r--r-- | vars/buildPackage.groovy | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy index 9517a79f..2b16c472 100644 --- a/vars/buildPackage.groovy +++ b/vars/buildPackage.groovy @@ -40,6 +40,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false, changesP label "ec2_amd64" } when { + beforeAgent true anyOf { changeset pattern: changesPattern, caseSensitive: true changeset pattern: "**/data/defaults.json", caseSensitive: true @@ -67,6 +68,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false, changesP } stage('Build Code') { when { + beforeAgent true anyOf { changeset pattern: changesPattern, caseSensitive: true triggeredBy cause: "UserIdCause" @@ -126,6 +128,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false, changesP } stage("Finalize") { when { + beforeAgent true anyOf { changeset pattern: changesPattern, caseSensitive: true triggeredBy cause: "UserIdCause" |