aboutsummaryrefslogtreecommitdiff
path: root/archive-specjbb2015-product-tarball.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2016-11-21 11:54:30 +0000
committerFathi Boudra <fathi.boudra@linaro.org>2016-11-21 12:33:16 +0000
commitef827b0389f47243cb53e0bf6b2bd72affb8aa04 (patch)
treee24b5f49790b8e378d20c530c77fc5b456d677e7 /archive-specjbb2015-product-tarball.yaml
parentdc5e3e87da58b4e03e256d624b48b59287dbbc64 (diff)
jdk: Make SPECjbb2015 available as an archive
Publish the SPECjbb2015 archive to other JDK jobs for testing. Change-Id: I9dab48821e53b122d04f3310aa225426db70fb12
Diffstat (limited to 'archive-specjbb2015-product-tarball.yaml')
-rw-r--r--archive-specjbb2015-product-tarball.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/archive-specjbb2015-product-tarball.yaml b/archive-specjbb2015-product-tarball.yaml
new file mode 100644
index 0000000000..d11fe0ddba
--- /dev/null
+++ b/archive-specjbb2015-product-tarball.yaml
@@ -0,0 +1,44 @@
+- job:
+ name: archive-specjbb2015-product-tarball
+ project-type: freestyle
+ defaults: global
+ description: |
+ * This job creates an archive of the SPECjbb2015 product.<br>
+ It can be copied as a *copy artifact* by other jobs.<br>
+ * <b>Note:</b> SPECjbb2015 should <b>not</b> be shared publically as there are licensing restrictions.
+ properties:
+ - authorization:
+ linaro:
+ - job-read
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 10
+ artifact-num-to-keep: 5
+ disabled: false
+ node: build
+ display-name: 'OpenJDK - Archive SPECjbb2015 product'
+ wrappers:
+ - timestamps
+ - copy-to-slave:
+ includes:
+ - SPECjbb2015.tgz
+ relative-to: 'somewhereElse'
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ set -exu
+
+ rm -rf out
+ mkdir out
+
+ # Use copy-to-slave instead of the file under /work/openjdk-testing/
+ #tar -xf /work/openjdk-testing/SPECjbb2015.tgz
+ tar -xf SPECjbb2015.tgz
+
+ chmod -R ug+rw SPECjbb2015
+ tar -acf out/SPECjbb2015.tgz SPECjbb2015
+ rm -rf SPECjbb2015 SPECjbb2015.tgz
+ publishers:
+ - archive:
+ artifacts: 'out/SPECjbb2015.tgz'