blob: 9098cd3ba58677493d023cd7205f802f6684cc4c (
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
- job:
name: tcwg-gcc-bisect
project-type: freestyle
defaults: global
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
linaro:
- job-build
- job-cancel
- build-discarder:
days-to-keep: 30
num-to-keep: 60
parameters:
- string:
name: EXP
default: ''
description: '.exp file name (eg. dg.exp)'
- string:
name: TESTNAME
default: ''
description: 'test name (eg. prXXXXX.c)'
- string:
name: TARGET
default: ''
description: 'Which target to build'
- string:
name: GOOD
default: ''
description: 'Good SVN revision'
- string:
name: BAD
default: ''
description: 'Bad SVN revision'
disabled: false
node: tcwg-x86_64-build
concurrent: true
display-name: 'TCWG ZZZ GCC Bisect'
wrappers:
- timeout:
timeout: 3000
- timestamps
- ssh-agent-credentials:
# tcwg-buildslave user id
users:
- 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
- build-name:
name: '#${BUILD_NUMBER}-${ENV,var="GOOD"}-${ENV,var="BAD"}-${ENV,var="TARGET"}'
builders:
- shell: |
#!/bin/bash
set -e
set -x
shell="/bin/bash"
rm -rf jenkins-scripts
git clone --depth 1 https://git-us.linaro.org/toolchain/jenkins-scripts
# Configure git user info to make git stash happy. It is
# used during the second build, because the sources are
# already present.
git config --global user.email "tcwg-buildslave@linaro.org"
git config --global user.name "TCWG BuildSlave"
# Jenkins puts the parameters in the environment
${shell} ${WORKSPACE}/jenkins-scripts/abe-bisect.sh
publishers:
- email:
recipients: 'christophe.lyon@linaro.org'
- email-ext:
recipients: 'christophe.lyon@linaro.org'
send-to:
requester
recipients
always: true
|