- job: name: tcwg-buildfarm-cmp project-type: multijob defaults: global properties: - authorization: anonymous: - job-read - job-extended-read linaro: - job-build - job-cancel - build-discarder: days-to-keep: 30 num-to-keep: 30 parameters: - string: name: ref_override default: '' description: 'Components version for reference builds; e.g. gcc=gcc.git~linaro/gcc-6-branch glibc=... and/or --extraconfigdir ../config/gcc6' - string: name: ref_log_name default: '${JOB_NAME}-${BUILD_NUMBER}-REF' description: 'Prefix logname for reference directory on logserver' - string: name: ref_abe_branch default: refs/remotes/origin/master description: 'ABE revision to test for reference builds' - bool: name: ref_rebuild default: true description: 'Rebuild reference toolchain even if results are already on logserver' - string: name: eval_override default: '' description: 'Components version for evaluation builds; e.g. gcc=gcc.git~linaro/gcc-6-branch glibc=... and/or --extraconfigdir ../config/gcc6' - string: name: eval_log_name default: '${JOB_NAME}-${BUILD_NUMBER}-EVAL' description: 'Prefix logname for evalution directory on logserver' - string: name: eval_abe_branch default: refs/remotes/origin/master description: 'ABE revision to test for evaluation builds' - bool: name: eval_rebuild default: true description: 'Rebuild evaluation toolchain even if results are already on logserver' - string: name: host_x86_64_languages default: 'default' description: 'Languages to build for x86_64 native toolchains, e.g., "c,c++" or "all" or "default"' - string: name: host_aarchXX_languages default: 'c,c++' description: 'Languages to build for AArchXX native toolchains, e.g., "c,c++" or "all" or "default"' - string: name: runtests default: 'aarch64-linux-gnu armv8l-linux-gnueabihf arm-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf aarch64-none-elf aarch64_be-none-elf tcwg-x86_64-build tcwg-x86_32-build' description: 'Run toolchain tests for these targets -- must be a subset of target_list' - string: name: host_x86_64_excludecheck default: 'gdb' description: 'Do not run "make check" on these components on x86_64' - string: name: host_aarchXX_excludecheck default: 'gcc' description: 'Do not run "make check" on these components on AArchXX' - string: name: extraconfig default: '' description: 'Extra configuration files, syntax tool=path' - string: name: log_server default: dev-01.tcwglab:/home/tcwg-buildslave/logs description: 'Log_Server' - string: name: target_list default: 'aarch64-linux-gnu armv8l-linux-gnueabihf arm-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf aarch64-none-elf aarch64_be-none-elf tcwg-x86_64-build tcwg-x86_32-build' description: 'List of targets -- aarch64-linux-gnu armv8l-linux-gnueabihf arm-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf aarch64-none-elf aarch64_be-none-elf tcwg-x86_64-build tcwg-x86_32-build tcwg-tk1_32-build tcwg-apm_64-build tcwg-apm_32-build -- the tcwg-* targets should be a subset of slave axis' - string: name: displaytag default: 'manual' description: 'Tag to display in the Jenkins console, so that the build name is more helpful' disabled: false node: tcwg-coordinator concurrent: true display-name: 'TCWG ZZZ Buildfarm Compare ' wrappers: - timestamps - build-name: name: '#${BUILD_NUMBER}-${displaytag}' builders: - shell: | #!/bin/bash set -e cat << EOF > buildfarm_parameters host_x86_64_languages=$host_x86_64_languages host_aarchXX_languages=$host_aarchXX_languages runtests=$runtests host_x86_64_excludecheck=$host_x86_64_excludecheck host_aarchXX_excludecheck=$host_aarchXX_excludecheck extraconfig=$extraconfig log_server=$log_server target_list=$target_list EOF echo "NOTE: Buildfarm job parameters:" cat buildfarm_parameters cat << EOF > compare_results_parameters ref_logs=$ref_log_name new_logs=$eval_log_name log_server=$log_server EOF echo "NOTE: Compare Results job parameters:" cat compare_results_parameters - multijob: name: 'Builds' condition: ALWAYS projects: - name: tcwg-buildfarm predefined-parameters: | override=$ref_override log_name=$ref_log_name/\$builder_type.\$target abe_branch=$ref_abe_branch rebuild=$ref_rebuild displaytag=buildfarm-cmp-ref-${BUILD_NUMBER} property-file: buildfarm_parameters - name: tcwg-buildfarm predefined-parameters: | override=$eval_override log_name=$eval_log_name/\$builder_type.\$target abe_branch=$eval_abe_branch rebuild=$eval_rebuild displaytag=buildfarm-cmp-eval-${BUILD_NUMBER} property-file: buildfarm_parameters - multijob: name: 'Compare Results' condition: COMPLETED projects: - name: tcwg-compare-results property-file: compare_results_parameters publishers: - workspace-cleanup: include: - "*_parameters" - email-ext: recipients: 'christophe.lyon@linaro.org' send-to: requester recipients always: true