aboutsummaryrefslogtreecommitdiff
path: root/jdk9-jcstress-test-publish-results.yaml
blob: 170217e48e6300013f347cbc5813c864b7fc1b29 (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
45
46
47
48
49
50
51
52
53
54
- job:
    name: jdk9-jcstress-test-publish-results
    project-type: freestyle
    defaults: global
    description: |
        * Reports are published to http://openjdk.linaro.org/jcstress-nightly-runs/
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            openjdk-members:
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 10
            artifact-num-to-keep: 5
    parameters:
        - string:
            name: PUBLISH_DEST
            default: ''
        - string:
            name: PUBLISH_HOST
            default: ''
    disabled: true
    node: aarch64-06
    display-name: 'DELETE ME'
    wrappers:
        - timestamps
        - ssh-agent-credentials:
            # openjdk-testing user id
            users:
                - '744cffb4-9ce1-4856-b103-9fdda06dad36'
    builders:
        - shell: |
            #!/bin/bash


            PERSIST=$HOME/srv/openjdk9u
            SCRIPT_DIR=$PERSIST/jcstress-test-scripts
            export JDK_VERSION=9u

            if [ -d $SCRIPT_DIR ]; then
                (cd $SCRIPT_DIR; git pull)
            else
                git clone https://git.linaro.org/leg/openjdk/jcstress-test-scripts.git $SCRIPT_DIR
            fi
            export TOP_DIR=$PERSIST

            $SCRIPT_DIR/jcstress-publish $PUBLISH_DEST
    publishers:
        - email:
            recipients: 'fathi.boudra@linaro.org'