diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2015-05-04 15:47:23 +0200 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2015-05-04 14:02:39 +0000 |
commit | bedcf3ae99611a069fc7244bb89a7b7cefb99aab (patch) | |
tree | bb3488e48f83ebdd7519784240c14f31dd0175c6 /tcwg-compare-results.yaml | |
parent | 066b053ecec04e5af8520b9b973bd35675d3bbbb (diff) |
tcwg-compare-results.yaml: New job, used to compare the results of 2 other jobs executions.
The main targets are the tcwg-buildfarm-* jobs, to compare the validation results of two GCC commits and check if there were regressions.
Change-Id: I2c6ac2bbd5f70a21415faf1fa463986f78e5422e
Diffstat (limited to 'tcwg-compare-results.yaml')
-rw-r--r-- | tcwg-compare-results.yaml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/tcwg-compare-results.yaml b/tcwg-compare-results.yaml new file mode 100644 index 0000000000..c855bcf7b6 --- /dev/null +++ b/tcwg-compare-results.yaml @@ -0,0 +1,71 @@ +- 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 + 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/maxim:refs/remotes/origin/maxim + name: origin + branches: + - refs/heads/maxim + skip-tag: true + shallow-clone: true + clean: true + wipe-workspace: false + 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' |