diff options
author | Stuart Monteith <stuart.monteith@linaro.org> | 2018-04-20 14:23:20 +0100 |
---|---|---|
committer | Stuart Monteith <stuart.monteith@linaro.org> | 2018-06-26 15:03:46 +0100 |
commit | 6016be543a509f680f196fee532c376f24a98a5b (patch) | |
tree | 683c4444ebe87c4082e789d06570d91b7398ffb2 /jdk11-jtreg-test-publish-results.yaml | |
parent | 45e4717389fac7914f9ed7484b2e8db7be046ae5 (diff) |
jdk: Create JDK 11 jobs.
The JDK 11 tree has branched off of the mainline. Create the appropriate
jobs for building and testing it.
Change-Id: Id6b23a35f0b4d33c163b1f8696cc5d4e9c9a1633
Diffstat (limited to 'jdk11-jtreg-test-publish-results.yaml')
-rw-r--r-- | jdk11-jtreg-test-publish-results.yaml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/jdk11-jtreg-test-publish-results.yaml b/jdk11-jtreg-test-publish-results.yaml new file mode 100644 index 00000000..9b3edc9e --- /dev/null +++ b/jdk11-jtreg-test-publish-results.yaml @@ -0,0 +1,71 @@ +- job: + name: jdk11-jtreg-test-publish-results + project-type: freestyle + defaults: global + description: | + * Results are published to http://openjdk.linaro.org/jdk11/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: '' + - string: + name: YEAR + default: 'default' + - string: + name: DAY_OF_YEAR + default: 'default' + disabled: false + node: aarch64-06 + display-name: 'OpenJDK 11 - Publish jtreg results' + wrappers: + - timestamps + - ssh-agent-credentials: + users: + - '744cffb4-9ce1-4856-b103-9fdda06dad36' + builders: + - copyartifact: + project: jtreg-build + filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz' + flatten: true + - shell: | + #!/bin/bash + + set -ex + + PERSIST=$HOME/srv/openjdk11 + SCRIPT_DIR=$PERSIST/openjdk-test-scripts + export JDK_VERSION=11 + + (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=$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 stuart.monteith@linaro.org' |