Skip to content

Commit 698b0ab

Browse files
committed
Try again to prevent meta self-triggers
1 parent daf0e35 commit 698b0ab

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Jenkinsfile.meta

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ properties([
1010

1111
node {
1212
stage('Checkout') {
13-
checkout(poll: false, scm: scmGit(
13+
// prevent meta from triggering itself
14+
// If 'Include in polling' is enabled or 'Include in changelog' is enabled, then when polling occurs, the job will be started if changes are detected from this SCM source.
15+
checkout(changelog: false, poll: false, scm: scmGit(
1416
userRemoteConfigs: [[
1517
url: '[email protected]:docker-library/meta.git',
1618
credentialsId: 'docker-library-bot',
@@ -30,11 +32,10 @@ node {
3032
),
3133
cleanBeforeCheckout(),
3234
cleanAfterCheckout(),
33-
[$class: 'IgnoreNotifyCommit'], // prevent meta from triggering itself
3435
[$class: 'RelativeTargetDirectory', relativeTargetDir: 'meta'],
3536
],
3637
))
37-
checkout(poll: true, scm: scmGit(
38+
checkout(scmGit(
3839
userRemoteConfigs: [[
3940
url: 'https://github.com/docker-library/official-images.git',
4041
name: 'origin',
@@ -46,7 +47,7 @@ node {
4647
[$class: 'RelativeTargetDirectory', relativeTargetDir: 'meta/.doi'],
4748
],
4849
))
49-
checkout(poll: true, scm: scmGit(
50+
checkout(scmGit(
5051
userRemoteConfigs: [[
5152
url: 'https://github.com/docker-library/meta-scripts.git',
5253
name: 'origin',

0 commit comments

Comments
 (0)