blob: 564814cba3da0c7a74b54863a611ce88a8351c49 (
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
|
- job:
name: tcwg-compare-results
project-type: freestyle
defaults: global
logrotate:
daysToKeep: 30
numToKeep: 30
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
linaro:
- job-build
- job-cancel
- job-workspace
parameters:
- text:
name: reference_job_name
default: 'tcwg-buildfarm'
description: 'Name of reference job used for comparison'
- text:
name: reference_number
default:
description: 'Reference build number of reference job used for comparison'
- text:
name: this_job_name
default: 'tcwg-buildfarm'
description: 'Name of job used for comparison'
- text:
name: this_number
default:
description: 'Build number of job used for comparison'
disabled: false
node: tcwg-x86_64-01
display-name: 'Compare the results of two builds of another job'
scm:
- git:
url: https://git.linaro.org/toolchain/abe.git
refspec: +refs/heads/ci-linaro-org:refs/remotes/origin/ci-linaro-org
name: origin
branches:
- refs/heads/ci-linaro-org
basedir: abe
skip-tag: true
shallow-clone: true
wipe-workspace: true
wrappers:
- timeout:
timeout: 60
- timestamps
- ssh-agent-credentials:
# tcwg-buildslave user id
user: 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
- build-name:
name: '#${BUILD_NUMBER}-${ENV,var="reference_job_name"}${ENV,var="reference_number"}-${ENV,var="this_job_name"}${ENV,var="this_number"}'
builders:
- shell: |
#!/bin/bash
trap cleanup_exit INT TERM EXIT
cleanup_exit()
{
cd ${WORKSPACE}
}
bash -x ${WORKSPACE}/abe/scripts/CompareJobs.job
publishers:
- email:
recipients: 'christophe.lyon@linaro.org'
- archive:
artifacts: 'artifacts/logs/*.xml,artifacts/logs/*.txt'
latest-only: true
|