This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch feature/SLING-7245
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git
The following commit(s) were added to refs/heads/feature/SLING-7245 by this
push:
new db80555 SLING-7245 - Validate pull requests using Jenkins
db80555 is described below
commit db805556255372ac9ea5ac72475bcf5373bc5425
Author: Robert Munteanu <[email protected]>
AuthorDate: Tue Dec 18 00:06:06 2018 +0100
SLING-7245 - Validate pull requests using Jenkins
Fix syntax in pipelineTriggers block.
---
vars/slingOsgiBundleBuild.groovy | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index d8c40d6..39faa09 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -20,10 +20,9 @@ def call(Map params = [:]) {
node('ubuntu') {
properties([
pipelineTriggers([
- cron(env.BRANCH_NAME == 'master' ? '@weekly' : '')
- pollSCM('* * * * *')
+ cron(env.BRANCH_NAME == 'master' ? '@weekly' : ''),
+ pollSCM('* * * * *'),
upstream(upstreamProjects: upstreamProjectsCsv, threshold:
hudson.model.Result.SUCCESS)
-
])
])