aboutsummaryrefslogtreecommitdiff
path: root/jdk9-terasort-benchmark-publish-results.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jdk9-terasort-benchmark-publish-results.yaml')
-rw-r--r--jdk9-terasort-benchmark-publish-results.yaml31
1 files changed, 27 insertions, 4 deletions
diff --git a/jdk9-terasort-benchmark-publish-results.yaml b/jdk9-terasort-benchmark-publish-results.yaml
index aa52645872..2f9565f322 100644
--- a/jdk9-terasort-benchmark-publish-results.yaml
+++ b/jdk9-terasort-benchmark-publish-results.yaml
@@ -4,13 +4,15 @@
defaults: global
description: |
* Results are published to http://openjdk.linaro.org/hadoop-terasort-benchmark-results/
- logrotate:
- numToKeep: 10
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 10
+ artifact-num-to-keep: 5
parameters:
- string:
name: ZERO_BASELINE
@@ -21,12 +23,22 @@
- string:
name: SERVER_CRITICAL_JOPS_BASELINE
default: '854'
+ - string:
+ name: PUBLISH_DEST
+ default: ''
+ - string:
+ name: PUBLISH_HOST
+ default: ''
disabled: false
node: aarch64-06
display-name: 'OpenJDK 9 - Publish terasort benchmark results'
wrappers:
- workspace-cleanup:
dirmatch: false
+ - ssh-agent-credentials:
+ # openjdk-testing user id
+ users:
+ - '744cffb4-9ce1-4856-b103-9fdda06dad36'
- timestamps
# Replaced by parameters
# - inject:
@@ -34,8 +46,19 @@
builders:
- shell: |
#!/bin/bash
+ PERSIST=$HOME/srv/openjdk9
+ JDK_VERSION=9
+
+ export BENCHMARK_RESULTS_DIR=$PERSIST/hadoop-terasort-benchmark-results
+ SCRIPT_DIR=$PERSIST/hadoop-test-scripts
+
+ if [ -d $SCRIPT_DIR ]; then
+ (cd $SCRIPT_DIR; git pull)
+ else
+ git clone https://git.linaro.org/leg/openjdk/hadoop-test-scripts.git $SCRIPT_DIR
+ fi
- ${HOME}/hadoop-test-scripts/benchmark-terasort-publish /home/openjdk-testing
+ $SCRIPT_DIR/benchmark-terasort-publish $PUBLISH_DEST
publishers:
- email:
- recipients: 'fathi.boudra@linaro.org'
+ recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'