aboutsummaryrefslogtreecommitdiff
path: root/jdk8-generate-email-report.yaml
blob: bf2b5ec51199e7f5703c626dda020bf3991575ab (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
- job:
    name: jdk8-generate-email-report
    project-type: freestyle
    defaults: global
    description: |
        This job aggregates the results from various jobs:<br>
        <br>
            * jcstress<br>
            * jtreg<br>
            * terasort<br>
            * specjbb<br>
        <br>
        in text form suitable for the aarch64-port-dev mailing list.
    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: ZERO_BASELINE
            default: '14115'
        - string:
            name: SERVER_MAX_JOPS_BASELINE
            default: '4278'
        - string:
            name: SERVER_CRITICAL_JOPS_BASELINE
            default: '901'
    disabled: false
    node: aarch64-06
    display-name: 'OpenJDK 8 - Generate e-mail report'
    wrappers:
        - timestamps
# Replaced by parameters
#        - inject:
#            properties-file: '${HOME}/performance-baseline.properties'
    builders:
        - copyartifact:
            project: jtreg-build
            filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz'
            target: incoming
            flatten: true
        - shell: |
            #!/bin/bash

            tar xf incoming/jtreg-build-4.2.0-SNAPSHOT.tar.xz
            PATH=${WORKSPACE}/jtreg/bin:${PATH}
            PERSIST=$HOME/srv/openjdk8u
            export SPECJBB_PRODUCT_HOME=$PERSIST/SPECjbb2015
            export JDK_VERSION=8u
            which jtdiff

            TOP_DIR=${PERSIST}/openjdk-jtreg-nightly-tests ${PERSIST}/openjdk-test-scripts/openjdk-test-summary release > ${WORKSPACE}/report.txt
            echo "" >> ${WORKSPACE}/report.txt

            TOP_DIR=${PERSIST} ${PERSIST}/specjbb-test-scripts/specjbb-report >> ${WORKSPACE}/report.txt
            echo "" >> ${WORKSPACE}/report.txt

            BENCHMARK_RESULTS_DIR=$PERSIST/hadoop-terasort-benchmark-results ${PERSIST}/hadoop-test-scripts/benchmark-terasort-report >> ${WORKSPACE}/report.txt
            echo "" >> ${WORKSPACE}/report.txt

            TOP_DIR=${PERSIST} ${PERSIST}/jcstress-test-scripts/jcstress-report --url http://openjdk.linaro.org/jdk${JDK_VERSION}/ >> ${WORKSPACE}/report.txt
    publishers:
        - archive:
            artifacts: 'report.txt'
        - email:
            recipients: 'fathi.boudra@linaro.org'