- job: name: 96boards-b2260 project-type: freestyle defaults: global logrotate: daysToKeep: 30 numToKeep: 30 properties: - authorization: anonymous: - job-read - job-extended-read - job-workspace linaro: - job-build - job-cancel parameters: - string: name: ROOTFS default: 'alip developer' disabled: false node: docker-jessie-amd64 display-name: '96boards - STiH410 B2260' scm: - git: url: https://github.com/Linaro/rpk.git refspec: +refs/heads/master:refs/remotes/origin/master name: origin branches: - refs/heads/master skip-tag: true shallow-clone: true wipe-workspace: false wrappers: - timestamps - build-name: name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' builders: - shell: !include-raw: 96boards-b2260/builders.sh - linaro-publish-token: host: builds.96boards.org - shell: | #!/bin/bash # # Publish to the server # test -d ${HOME}/bin || mkdir ${HOME}/bin wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py time python ${HOME}/bin/linaro-cp.py \ --server ${PUBLISH_SERVER} \ --link-latest \ out snapshots/b2260/linaro/debian/${BUILD_NUMBER} rm -rf out - shell: | #!/bin/bash -e rm -rf configs git clone --depth 1 http://git.linaro.org/ci/job/configs.git VERSION=$(date +%Y%m%d)-${BUILD_NUMBER} NFSROOTFS="b2260-stretch_developer_${VERSION}.img.gz" sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \ -e "s|\${NFSROOTFS}|${NFSROOTFS}|" \ -e "s|\${BUILD_URL}|${BUILD_URL}|" \ -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \ < configs/96boards-b2260/lava-job-definitions/b2260/template.yaml \ > custom_lava_job_definition.yaml cat << EOF > post_build_lava_parameters DEVICE_TYPE=b2260 CUSTOM_YAML_URL=${JOB_URL}/ws/custom_lava_job_definition.yaml LAVA_SERVER=validation.linaro.org/RPC2/ EOF - trigger-builds: - project: 'post-build-lava' property-file: post_build_lava_parameters block: true publishers: - email: recipients: 'fathi.boudra@linaro.org lee.jones@linaro.org patrice.chotard@linaro.org'