aboutsummaryrefslogtreecommitdiff
path: root/jdk8-archive-test-scripts.yaml
blob: b31b788738466fe438b23d0e8f3379b857e93023 (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
- job:
    name: jdk8-archive-test-scripts
    project-type: freestyle
    defaults: global
    description: |
        * This job is no longer necessary as these directories are held at git.linaro.org.
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 10
            artifact-num-to-keep: 5
    disabled: false
    node: aarch64-06
    display-name: 'OpenJDK 8 - Archive OpenJDK 8 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=jdk8 -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'