aboutsummaryrefslogtreecommitdiff
path: root/jdk9-archive-test-scripts.yaml
blob: 9f81dee7c45416438f22d0d3be6ccbdf1e2eda51 (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
- job:
    name: jdk9-archive-test-scripts
    project-type: freestyle
    defaults: global
    description: |
        * This job is no longer necessary as these directories are held at git.linaro.org.
    logrotate:
        numToKeep: 10
        artifactNumToKeep: 1
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
    disabled: false
    node: aarch64-06
    display-name: 'OpenJDK 9 - Archive OpenJDK 9 test scripts'
    wrappers:
        - timestamps
    builders:
        - shell: |
            #!/bin/bash

            set -exu

            rm -rf out
            mkdir out
            cd ~openjdk-testing
            tar --exclude=.git -acvf ${WORKSPACE}/out/specjbb-test-scripts.tar.gz specjbb-test-scripts 
            tar --exclude=.git --exclude=jdk9 -acvf ${WORKSPACE}/out/openjdk-test-scripts.tar.gz openjdk-test-scripts
            tar --exclude=.git -acvf ${WORKSPACE}/out/hadoop-test-scripts.tar.gz  hadoop-test-scripts
    publishers:
        - archive:
            artifacts: 'out/*.tar.gz'