blob: 742f92dfed28abd9da08815bcdaf971f246f6bc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
- job:
name: art-build-scripts-presubmit-test
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: 'ART - Build Scripts Presubmit Test'
concurrent: true
triggers:
- gerrit:
server-name: android-review.linaro.org
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: |
set -x
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
./presubmit.sh
publishers:
- email:
recipients: 'daniel.diaz@linaro.org'
|