aboutsummaryrefslogtreecommitdiff
path: root/jdk8-specjbb2013-benchmark-persist-results.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2016-08-08 16:05:02 +0100
committerStuart Monteith <stuart.monteith@linaro.org>2016-08-09 15:37:20 +0100
commit2877220f2d02a74fc3ba5a73b94f2d4ee2ccd718 (patch)
tree52b2c48106be9b11f647ffbc7701bd389879e1b8 /jdk8-specjbb2013-benchmark-persist-results.yaml
parente8f6a1091d203453c3981c9eaeddc5cdfa0d7961 (diff)
downloadconfigs-2877220f2d02a74fc3ba5a73b94f2d4ee2ccd718.tar.gz
jdk8: Replace ~openjdk-testing from the paths.
Adds "PERSIST" variable which currently points to "$HOME/srv/openjdk". This removes a dependency on the ~openjdk-testing userid, which won't ever exist on ci.linaro.org. Removes dependency on the *-test-scripts directories being already checked out. Instead, the "jdk8-*-persist" jobs check out the test scripts and the "jdk8-*-publish" jobs reuse them. Change-Id: Id25f1f1ac2e9a33f63cb393b6f1e8c7eb3dee2e0
Diffstat (limited to 'jdk8-specjbb2013-benchmark-persist-results.yaml')
-rw-r--r--jdk8-specjbb2013-benchmark-persist-results.yaml15
1 files changed, 13 insertions, 2 deletions
diff --git a/jdk8-specjbb2013-benchmark-persist-results.yaml b/jdk8-specjbb2013-benchmark-persist-results.yaml
index 21c9105a3..c46ce66b0 100644
--- a/jdk8-specjbb2013-benchmark-persist-results.yaml
+++ b/jdk8-specjbb2013-benchmark-persist-results.yaml
@@ -48,7 +48,18 @@
tree -f .
- source ~openjdk-testing/specjbb-test-scripts/common.sh
+ PERSIST=$HOME/srv/openjdk
+ TOPDIR=$PERSIST
+ mkdir -p $TOPDIR
+
+ SCRIPT_DIR=$PERSIST/specjbb-test-scripts
+ if [ -d $SCRIPT_DIR ]; then
+ (cd $SCRIPT_DIR; git pull)
+ else
+ git clone https://git.linaro.org/leg/openjdk/specjbb-test-scripts.git $SCRIPT_DIR
+ fi
+
+ source $SCRIPT_DIR/common.sh
echo "Previous Results"
cat ${RESULTS_CSV}
set -eux
@@ -58,4 +69,4 @@
cp incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT}/*.data.gz ${SPECJBB_EXPANDED_RESULTS_DIR}
pushd ${SPECJBB_EXPANDED_RESULTS_DIR}
echo "Updating ${RESULTS_CSV}"
- ~openjdk-testing/specjbb-test-scripts/update-results-csv -- --verbose --output=${RESULTS_CSV}
+ $SCRIPT_DIR/update-results-csv -- --verbose --output=${RESULTS_CSV}