From 40341c591608e39c321d96eb159addd5727485bc Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Fri, 15 Jul 2016 14:41:53 +0100 Subject: Added support for direct .json submission Change-Id: I46ceb90b9a897d3f5f07df23a6c50c02b41ba958 Signed-off-by: Milosz Wasilewski --- post-build-report.yaml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'post-build-report.yaml') diff --git a/post-build-report.yaml b/post-build-report.yaml index 932877f..ec70009 100644 --- a/post-build-report.yaml +++ b/post-build-report.yaml @@ -7,7 +7,6 @@
  • SOURCE_BUILD_NUMBER - Jenkins build number
  • LAVA_JOB_IDS - comma separated list of LAVA job IDs
  • ART_URL - URL of the API endpoing of art-reports -
  • ART_TOKEN - token for art-reports Optionally the following variables might be set:
      @@ -43,6 +42,14 @@ 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' @@ -67,12 +74,17 @@ 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 pinned-manifest.xml - rm boot_oat_size* - rm avg_oat_size* rm -rf pbr git clone git://git.linaro.org/people/milosz.wasilewski/post-build-report.git pbr python pbr/post-build-report.py -- cgit v1.2.3