blob: d11fe0ddbaed0a83464b21837570e6913850e494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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'
|