aboutsummaryrefslogtreecommitdiff
path: root/jdkX-jtreg-test-publish-results.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2017-11-02 11:00:29 +0000
committerStuart Monteith <stuart.monteith@linaro.org>2017-11-07 11:10:36 +0000
commit3bc3d18f6e8818f2d34c79e57efda98422f5b6ca (patch)
tree0a2aee928ac02d651e252f254725dbd25d784728 /jdkX-jtreg-test-publish-results.yaml
parent117c1bb250bb9eff295003ce60cfba72386c867b (diff)
downloadconfigs-3bc3d18f6e8818f2d34c79e57efda98422f5b6ca.tar.gz
jdk: Create OpenJDK JDK build projects.
Creates jdkX builds. These track the jdk/hs branch rather than jdk10/hs. These will be the development tree for every version of OpenJDK from now on. Change-Id: I6e2d93e7a830b22386e563dfcebf790e37f1d960
Diffstat (limited to 'jdkX-jtreg-test-publish-results.yaml')
-rw-r--r--jdkX-jtreg-test-publish-results.yaml71
1 files changed, 71 insertions, 0 deletions
diff --git a/jdkX-jtreg-test-publish-results.yaml b/jdkX-jtreg-test-publish-results.yaml
new file mode 100644
index 000000000..204d5c928
--- /dev/null
+++ b/jdkX-jtreg-test-publish-results.yaml
@@ -0,0 +1,71 @@
+- job:
+ name: jdkX-jtreg-test-publish-results
+ project-type: freestyle
+ defaults: global
+ description: |
+ * Results are published to http://openjdk.linaro.org/jdkX/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 X - 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/openjdkX
+ SCRIPT_DIR=$PERSIST/openjdk-test-scripts
+ export JDK_VERSION=X
+
+ (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'