blob: 09754f0feafe7c5628987cef63a3dde4832c5043 (
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-specjbb2013-product-tarball
project-type: freestyle
defaults: global
description: |
* This job creates an archive of the SPECjbb2013 product.<br>
It can be copied as a *copy artifact* by other jobs.<br>
* <b>Note:</b> SPECjbb2013 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 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'
|