- job: name: jdk8-jtreg-test-publish-results project-type: freestyle defaults: global description: | * Results are published to http://openjdk.linaro.org/openjdk8-jtreg-nightly-tests/ properties: - authorization: anonymous: - job-read - job-extended-read - build-discarder: days-to-keep: 30 num-to-keep: 10 artifact-num-to-keep: 5 disabled: false node: aarch64-06 display-name: 'OpenJDK 8 - Publish jtreg results' wrappers: - timestamps builders: - copyartifact: project: jtreg-build filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz' flatten: true - shell: | #!/bin/bash set -ex PERSIST=$HOME/srv/openjdk SCRIPT_DIR=$PERSIST/openjdk-test-scripts if [ -d $SCRIPT_DIR ]; then (cd $SCRIPT_DIR; git pull) else git clone https://git.linaro.org/leg/openjdk/openjdk-test-scripts.git $SCRIPT_DIR fi tar xf jtreg-build-4.2.0-SNAPSHOT.tar.xz export PATH=${WORKSPACE}/jtreg/linux/bin:$PATH which jtdiff TOP_DIR=$PERSIST/openjdk8-jtreg-nightly-tests bash -x $SCRIPT_DIR/publish $PERSIST publishers: - email: recipients: 'fathi.boudra@linaro.org'