From d6e06a3a5277de2837cbf90d92f1283d8b1d8c1e Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Thu, 12 Oct 2017 16:25:07 -0600 Subject: poll: false doesn't work. Trying $class: "DisableRemotePolling" --- jjb/yaml/openbook-all-pipeline.yaml | 3 +++ jjb/yaml/openbook-core-pipeline.yaml | 3 --- jjb/yaml/openbook-pipeline.yaml | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/jjb/yaml/openbook-all-pipeline.yaml b/jjb/yaml/openbook-all-pipeline.yaml index b7b79a3..efcb2ef 100644 --- a/jjb/yaml/openbook-all-pipeline.yaml +++ b/jjb/yaml/openbook-all-pipeline.yaml @@ -27,6 +27,9 @@ userRemoteConfigs: [ [url: "git@github.com:Talligent/openbook-core.git"] ], + extensions: [ + $class: "DisableRemotePoll" + ], poll: false, changelog: false ] diff --git a/jjb/yaml/openbook-core-pipeline.yaml b/jjb/yaml/openbook-core-pipeline.yaml index 03ae636..dd98c84 100644 --- a/jjb/yaml/openbook-core-pipeline.yaml +++ b/jjb/yaml/openbook-core-pipeline.yaml @@ -11,9 +11,6 @@ } stages { stage("checkout") { - triggers { - pollSCM 'H/5 * * * *' - } agent { node { label "openbook_v4" diff --git a/jjb/yaml/openbook-pipeline.yaml b/jjb/yaml/openbook-pipeline.yaml index ac2ca0b..0fca23b 100644 --- a/jjb/yaml/openbook-pipeline.yaml +++ b/jjb/yaml/openbook-pipeline.yaml @@ -24,9 +24,6 @@ }} stages {{ stage("gradle") {{ - triggers {{ - pollSCM 'H/5 * * * *' - }} steps {{ checkout([ scm: [ @@ -56,6 +53,9 @@ userRemoteConfigs: [ [url: "git@github.com:Talligent/deployment-scripts.git"] ], + extensions: [ + $class: "DisableRemotePoll" + ], poll: false, changelog: false ] @@ -75,6 +75,7 @@ userRemoteConfigs: [ [url: "git@github.com:Talligent/openbook-v4-ci.git"] ], + $class: "DisableRemotePoll", poll: false, changelog: false ] -- cgit v1.3