- job: name: tcwg-benchmark-compare project-type: freestyle defaults: global properties: - authorization: linaro: - job-read - job-extended-read - job-build - job-cancel - build-discarder: days-to-keep: 30 num-to-keep: 100 parameters: - string: name: resultsref default: /tcwg-benchmark- description: 'Rsync-friendly for reference results. Use the results_id value of the reference build.' - string: name: resultseval default: /tcwg-benchmark- description: 'Rsync-friendly for results to compare to reference. Use the results_id value of the build.' - bool: name: peak default: false description: 'Use peak performance instead of median' - string: name: scripts_branch default: master description: 'Jenkins-scripts branch to use' - string: name: bmk_branch default: master description: 'Bmk-scripts branch to use' disabled: false node: tcwg-bmk-dev-01 concurrent: true display-name: 'TCWG BBB Benchmark Compare' scm: - git: url: https://git-us.linaro.org/toolchain/jenkins-scripts.git refspec: +refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/* branches: - ${scripts_branch} skip-tag: true shallow-clone: true wipe-workspace: false clean: before: true - git: url: https://git-us.linaro.org/toolchain/bmk-scripts.git refspec: +refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/* branches: - ${bmk_branch} basedir: bmk-scripts skip-tag: true shallow-clone: true wipe-workspace: false clean: before: true wrappers: - timeout: timeout: 600 - timestamps - ssh-agent-credentials: users: - 'tcwg-benchmark' builders: - shell: | #!/bin/bash set -e -u -o pipefail refboard=$(dirname ${resultsref}) evalboard=$(dirname ${resultseval}) refnumber=$(basename ${resultsref} | sed 's/tcwg-benchmark-//') evalnumber=$(basename ${resultseval} | sed 's/tcwg-benchmark-//') peakstr="" $peak && peakstr=-peak echo "#${BUILD_NUMBER}-${refboard}-${refnumber}-${evalboard}-${evalnumber}${peakstr}" > ${WORKSPACE}/version.txt - build-name-setter: name: 'version.txt' file: true - shell: | #!/bin/bash set -ex exec ./tcwg-benchmark-results-compare.sh publishers: - archive: artifacts: 'artifacts/*' latest-only: false