aboutsummaryrefslogtreecommitdiff
path: root/jdk8-terasort-benchmark-persist-results.yaml
blob: d0066bea6fd94316f180d0eba789b7883cc2f462 (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
- job:
    name: jdk8-terasort-benchmark-persist-results
    project-type: matrix
    defaults: global
    description: |
        * Writes results to /work/openjdk-testing/hadoop-terasort-benchmark-results.
    logrotate:
        numToKeep: 10
    properties:
        - authorization:
            linaro:
                - job-read
    disabled: false
    node: aarch64-06
    display-name: 'OpenJDK - Write terasort results'
    axes:
        - axis:
            type: user-defined
            name: JVM_VARIANT
            values:
                - server
                - client
        - axis:
            type: user-defined
            name: BUILD_TYPE
            values:
                - release
    execution-strategy:
        sequential: true
    wrappers:
        - workspace-cleanup:
            dirmatch: false
        - timestamps
        - matrix-tie-parent:
            node: aarch64-06
    builders:
        - copyartifact:
            project: jdk8-terasort-benchmark
            filter: 'out/terasort-results-${JVM_VARIANT}-${BUILD_TYPE}.csv'
            target: incoming
            flatten: true
        - shell: |
            #!/bin/bash

            set -exu

            new_results=incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT}/*.csv
            prev_results=~openjdk-testing/hadoop-terasort-benchmark-results/results.csv

            echo "Previous Results"
            echo "----------------"
            cat ${prev_results}
            echo

            cat ${new_results} >> ${prev_results}

            ~openjdk-testing/hadoop-test-scripts/update-results-db