- job: name: post-build-reports description: 'This project helps submit build and test results to reporting tools. It requires the following variables to be set: Optionally the following variables might be set: ' project-type: freestyle defaults: global logrotate: daysToKeep: 30 numToKeep: 30 properties: - authorization: anonymous: - job-read - job-extended-read linaro: - job-build - job-cancel parameters: - password: name: ART_TOKEN_ART_REPORTS default: ${ART_TOKEN_ART_REPORTS} - password: name: ART_TOKEN_ANDROID_REPORTS default: ${ART_TOKEN_ANDROID_REPORTS} disabled: false node: build display-name: 'Post Build Reports' execution-strategy: sequential: true builders: - shell: | #!/bin/bash # Remove old artifacts rm artifacts/pinned-manifest.xml rm artifacts/boot_oat_size* rm artifacts/avg_oat_size* rm artifacts/*.json exit 0 - copyartifact: project: ${SOURCE_PROJECT_NAME} filter: 'pinned-manifest.xml' target: artifacts optional: true flatten: true which-build: specific-build build-number: ${SOURCE_BUILD_NUMBER} - copyartifact: project: ${SOURCE_PROJECT_NAME} filter: 'boot_oat_size*' target: artifacts optional: true flatten: true which-build: specific-build build-number: ${SOURCE_BUILD_NUMBER} - copyartifact: project: ${SOURCE_PROJECT_NAME} filter: 'avg_oat_time*' target: artifacts optional: true flatten: true which-build: specific-build build-number: ${SOURCE_BUILD_NUMBER} - copyartifact: project: ${SOURCE_PROJECT_NAME} filter: '*.json' target: artifacts optional: true flatten: true which-build: specific-build build-number: ${SOURCE_BUILD_NUMBER} - shell: | #!/bin/bash # Send to art-reports rm -rf pbr git clone git://git.linaro.org/people/milosz.wasilewski/post-build-report.git pbr python pbr/post-build-report.py publishers: - email: recipients: 'milosz.wasilewski@linaro.org'