aboutsummaryrefslogtreecommitdiff
path: root/linaro-art-scripts-presubmit.yaml
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2016-08-23 17:15:44 +0100
committerFathi Boudra <fathi.boudra@linaro.org>2016-08-29 12:26:28 +0000
commitdd03941cb10517f487a71fdb29dd757e9d237711 (patch)
tree5fdd3156507bf0b80e7539755bdb946ed30aeaef /linaro-art-scripts-presubmit.yaml
parentdb61b624aec948b1c6e7afc31c2d14d6a59b1adf (diff)
ART: Reorganize display names
Change-Id: I8a233d76a8dacb9519be5d5a71d47ab74c6629b4
Diffstat (limited to 'linaro-art-scripts-presubmit.yaml')
-rw-r--r--linaro-art-scripts-presubmit.yaml64
1 files changed, 64 insertions, 0 deletions
diff --git a/linaro-art-scripts-presubmit.yaml b/linaro-art-scripts-presubmit.yaml
new file mode 100644
index 0000000000..7a0648a351
--- /dev/null
+++ b/linaro-art-scripts-presubmit.yaml
@@ -0,0 +1,64 @@
+- job:
+ name: linaro-art-scripts-presubmit
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-discover
+ linaro-android-builders:
+ - job-read
+ - job-extended-read
+ - job-workspace
+ linaro-art:
+ - job-build
+ - job-read
+ - job-extended-read
+ - job-workspace
+ - build-discarder:
+ days-to-keep: 60
+ num-to-keep: 60
+ disabled: false
+ node: aosp
+ display-name: 'Scripts: Presubmit Test'
+ concurrent: true
+ triggers:
+ - gerrit:
+ server-name: android-review.linaro.org
+ override-votes: true
+ gerrit-build-successful-verified-value: 1
+ gerrit-build-failed-verified-value: -1
+ trigger-on:
+ - patchset-created-event
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'linaro-art/art-build-scripts'
+ branches:
+ - branch-pattern: 'master'
+ silent: false
+ silent-start: true
+ wrappers:
+ - timestamps
+ - timeout:
+ timeout: 10
+ builders:
+ - shell: |
+ #!/bin/bash -xe
+
+ ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
+
+ rm -rf art-build-scripts
+ git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git
+ cd art-build-scripts
+
+ if git pull http://$GERRIT_HOST/$GERRIT_PROJECT $GERRIT_REFSPEC | grep -q "Automatic merge failed"; then
+ git reset --hard
+ echo "Error: *** Error patch merge failed"
+ exit 1
+ fi
+
+ perl ${ART_BUILD_SCRIPTS_DIR}/jenkins/test_launcher.pl \
+ ./presubmit.sh
+ publishers:
+ - email:
+ recipients: 'daniel.diaz@linaro.org'