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 ef9645f SLING-7245 - Validate pull requests using Jenkins
ef9645f is described below
commit ef9645fb706aa78c20ded74d612654e0b126e193
Author: Robert Munteanu <[email protected]>
AuthorDate: Thu Dec 20 16:46:05 2018 +0100
SLING-7245 - Validate pull requests using Jenkins
Declare jobTriggers, it's still being used.
---
vars/slingOsgiBundleBuild.groovy | 1 +
1 file changed, 1 insertion(+)
diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 0a7f567..d25b0cb 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -34,6 +34,7 @@ def call(Map params = [:]) {
echo "Final job config: ${jobConfig}"
}
+ def jobTriggers = []
if ( env.BRANCH_NAME == 'master' )
jobTriggers.add(cron(jobConfig.rebuildFrequency))
if ( upstreamProjectsCsv )