aboutsummaryrefslogtreecommitdiff
path: root/jdk8-jtreg-test-publish-results.yaml
blob: c0b0ca90671ff13fd140e34df4155d00e07b5ccd (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
- job:
    name: jdk8-jtreg-test-publish-results
    project-type: freestyle
    defaults: global
    description: |
        * Results are published to http://openjdk.linaro.org/openjdk8-jtreg-nightly-tests/
    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 - Publish jtreg results'
    wrappers:
        - timestamps
    builders:
        - copyartifact:
            project: jtreg-build
            filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz'
            flatten: true
        - shell: |
            #!/bin/bash

            set -ex

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


            tar xf jtreg-build-4.2.0-SNAPSHOT.tar.xz
            export PATH=${WORKSPACE}/jtreg/bin:$PATH
            which jtdiff
            TOP_DIR=$PERSIST/openjdk8-jtreg-nightly-tests bash -x $SCRIPT_DIR/publish $PERSIST
    publishers:
        - email:
            recipients: 'fathi.boudra@linaro.org' 'stuart.monteith@linaro.org'