From 8cb7a50ce66965f5d71e66cb04113ecbf58f3bf2 Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Thu, 12 Oct 2017 14:39:16 -0600 Subject: fixed overzealous git scm trigger --- jjb/yaml/openbook-core-pipeline.yaml | 6 +++--- jjb/yaml/openbook-pipeline.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'jjb') diff --git a/jjb/yaml/openbook-core-pipeline.yaml b/jjb/yaml/openbook-core-pipeline.yaml index a7fa153..03ae636 100644 --- a/jjb/yaml/openbook-core-pipeline.yaml +++ b/jjb/yaml/openbook-core-pipeline.yaml @@ -9,11 +9,11 @@ label "master" } } - triggers { - pollSCM 'H/5 * * * *' - } 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 f0fcfc3..ac2ca0b 100644 --- a/jjb/yaml/openbook-pipeline.yaml +++ b/jjb/yaml/openbook-pipeline.yaml @@ -22,11 +22,11 @@ customWorkspace "workspace/{artifact}" }} }} - triggers {{ - pollSCM 'H/5 * * * *' - }} stages {{ stage("gradle") {{ + triggers {{ + pollSCM 'H/5 * * * *' + }} steps {{ checkout([ scm: [ -- cgit v1.3