diff options
author | Stuart Monteith <stuart.monteith@linaro.org> | 2016-10-31 16:30:49 +0000 |
---|---|---|
committer | Stuart Monteith <stuart.monteith@linaro.org> | 2016-10-31 16:40:44 +0000 |
commit | 9e3a1528b6b8b323be22cd29f22c6e6494db2777 (patch) | |
tree | ced094838bf5516959265727142d4e078864b11d /jdk9-jtreg-test-publish-results.yaml | |
parent | 1689bfe1c5506f8b96f548a554610fd11b270847 (diff) |
jdk: Update jdk9 jobs to match jdk8
JDK8 and JDK9 jobs should now be able to coexist. Change jdk9 jobs to
match the idioms in jdk8.
Couple of fixes in jdk8u.
Change-Id: Ifb9f68685ed5126b92141295e7b91eb6d1c3e061
Diffstat (limited to 'jdk9-jtreg-test-publish-results.yaml')
-rw-r--r-- | jdk9-jtreg-test-publish-results.yaml | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/jdk9-jtreg-test-publish-results.yaml b/jdk9-jtreg-test-publish-results.yaml index 7cddfa875a..f933dcc7a7 100644 --- a/jdk9-jtreg-test-publish-results.yaml +++ b/jdk9-jtreg-test-publish-results.yaml @@ -3,19 +3,34 @@ project-type: freestyle defaults: global description: | - * Results are published to http://openjdk.linaro.org/openjdk9-jtreg-nightly-tests/ - logrotate: - numToKeep: 10 + * Results are published to http://openjdk.linaro.org/jdk9/openjdk-jtreg-nightly-tests/ properties: - authorization: anonymous: - job-read - job-extended-read + openjdk-members: + - job-build + - job-cancel + - build-discarder: + days-to-keep: 30 + num-to-keep: 10 + artifact-num-to-keep: 5 + parameters: + - string: + name: PUBLISH_DEST + default: '' + - string: + name: PUBLISH_HOST + default: '' disabled: false node: aarch64-06 display-name: 'OpenJDK 9 - Publish jtreg results' wrappers: - timestamps + - ssh-agent-credentials: + users: + - '744cffb4-9ce1-4856-b103-9fdda06dad36' builders: - copyartifact: project: jtreg-build @@ -26,10 +41,25 @@ set -ex + PERSIST=$HOME/srv/openjdk9 + SCRIPT_DIR=$PERSIST/openjdk-test-scripts + JDK_VERSION=9 + + (unset PRIVATE_KEY; env | sort >$WORKSPACE/env.out) + tree -fd -L 5 $PERSIST | xz >$WORKSPACE/tree.out.xz + + 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/bin:$PATH which jtdiff - TOP_DIR=~openjdk-testing/openjdk9-jtreg-nightly-tests bash -x ~openjdk-testing/openjdk-test-scripts/publish /home/openjdk-testing + TOP_DIR=$PERSIST/openjdk-jtreg-nightly-tests bash -x $SCRIPT_DIR/publish $PUBLISH_DEST $NODE_NAME publishers: + - archive: + artifacts: 'tree.out.xz, env.out' - email: - recipients: 'fathi.boudra@linaro.org' + recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org' |