aboutsummaryrefslogtreecommitdiff
path: root/trigger-spark.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-11-07 18:48:53 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-11-07 18:48:53 +0200
commitc441296c88fd3c0a45a52ec2f165b16b2a530ea7 (patch)
treee4741b38185b180238ba6556a7af3b1f3c7ae62b /trigger-spark.yaml
parent6348943a19e49aa6fdb00d0cef2e2715a4f181bc (diff)
downloadconfigs-c441296c88fd3c0a45a52ec2f165b16b2a530ea7.tar.gz
trigger-spark: add trigger on commit for Spark
Change-Id: I7d1f5dfeae0e250308620b58a4b935d818a16156 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'trigger-spark.yaml')
-rw-r--r--trigger-spark.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/trigger-spark.yaml b/trigger-spark.yaml
new file mode 100644
index 000000000..cccfd1394
--- /dev/null
+++ b/trigger-spark.yaml
@@ -0,0 +1,34 @@
+- job:
+ name: trigger-spark
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ disabled: false
+ node: build
+ display-name: 'Trigger for Spark'
+ scm:
+ - git:
+ url: https://github.com/apache/spark.git
+ refspec: +refs/heads/master:refs/remotes/origin/master
+ name: origin
+ branches:
+ - refs/heads/master
+ basedir: spark
+ skip-tag: true
+ shallow-clone: true
+ wipe-workspace: false
+ triggers:
+ - pollscm: 'H/5 * * * *'
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - trigger-builds:
+ - project: 'spark'