aboutsummaryrefslogtreecommitdiff
path: root/trigger-lkft-notify-kselftest-next.yaml
blob: 9519fddb5e3486b3916be52ba5b0197c8d2b0280 (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
- job:
    name: trigger-lkft-notify-kselftest-next
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    disabled: true
    node: triggers
    concurrent: false
    display-name: 'Trigger LKFT kselftest next report'
    scm:
        - git:
            url: https://github.com/Linaro/lkft-tools.git
            refspec: +refs/heads/*:refs/remotes/origin/*
            name: origin
            branches:
                - refs/heads/master
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
            clean:
                before: true
    triggers:
        - timed: '0 * * * *'
    wrappers:
        - timeout:
            timeout: 60
        - timestamps
    builders:
        - shell: |
            #!/bin/bash

            set -ex

            pip install --user -r requirements.txt

            python ./bin/trigger_generate_next_kselftest_report.py

        - trigger-builds:
            - project: lkft-notify-kselftest-next
              block: false
              parameter-factories:
                  - factory: filebuild
                    file-pattern: "*.build_notify_parameters"
                    no-files-found-action: SKIP

    publishers:
        - workspace-cleanup:
             include:
              - "*_parameters"
        - email:
             recipients: 'dan.rue@linaro.org anders.roxell@linaro.org'