- 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 # wait 5 minutes before starting the build. This allows for source build to complete quiet-period: 300 defaults: global properties: - authorization: anonymous: - job-read - job-extended-read milosz.wasilewski@linaro.org: - job-build - job-cancel - build-discarder: days-to-keep: 90 num-to-keep: 500 artifact-num-to-keep: 1 disabled: false node: master display-name: 'Post build reports' execution-strategy: sequential: true wrappers: - timestamps - credentials-binding: - text: credential-id: ART_TOKEN_ART_REPORTS variable: ART_TOKEN_ART_REPORTS - credentials-binding: - text: credential-id: ART_TOKEN_ANDROID_REPORTS variable: ART_TOKEN_ANDROID_REPORTS builders: - shell: | #!/bin/bash rm -f \ artifacts/pinned-manifest.xml \ artifacts/boot_oat_size* \ artifacts/avg_oat_size* \ artifacts/*.json - 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/qa/post-build-report.git pbr python pbr/post-build-report.py publishers: - email: recipients: 'milosz.wasilewski@linaro.org'