- job: name: archive-specjbb2013-product-tarball project-type: freestyle defaults: global description: | * This job creates an archive of the SPECjbb2013 product.
It can be copied as a *copy artifact* by other jobs.
* Note: SPECjbb2013 should not 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 SPECjbb2013 product' wrappers: - timestamps - copy-to-slave: includes: - SPECjbb2013-1.00.tar.gz 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/SPECjbb2013-1.00.tar.gz tar -xf SPECjbb2013-1.00.tar.gz chmod -R ug+rw SPECjbb2013-1.00 tar -acf out/SPECjbb2013-1.00.tar.gz SPECjbb2013-1.00 rm -rf SPECjbb2013-1.00 SPECjbb2013-1.00.tar.gz publishers: - archive: artifacts: 'out/SPECjbb2013-1.00.tar.gz'