summaryrefslogtreecommitdiff
path: root/defaults.yaml
blob: 541e3671224e74ac1b0601b8d71daba4922e5e2a (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
- publisher:
    name: notify-tor-irc
    publishers:
        - email-ext:
                recipients: tor-jenkins@commit.noreply.org
                subject: Tor Jenkins build status
                body: |
                      project: $PROJECT_NAME
                      build: $BUILD_NUMBER
                      status: $BUILD_STATUS
                      url: $BUILD_URL
                unstable: true
                first-failure: true
                not-built: true
                #aborted: true
                regression: true
                failure: true
                improvement: true
                still-failing: true
                #success: true
                fixed: true
                still-unstable: true
                #pre-build: true
                matrixTriggerMode: ONLY_PARENT

- publisher:
    name: post-workspace-cleanup
    publishers:
        - workspace-cleanup:
            dirmatch: true
            include:
              - "**"

- defaults:
    name: global
    description: 'Do not edit this job through the web -- instead configure it via the project/jenkins/jobs git repo'
    project-type: matrix
    block-upstream: true
    node: master
    scm:
       - git:
           url: "{git-url}"
           basedir: source
    triggers:
       - pollscm:
           cron: "H 1 * * *"
           ignore-post-commit-hooks: False
    execution-strategy:
        sequential: false
        touchstone:
            expr: '(ARCHITECTURE=="amd64" && SUITE=="buster")'
            result: stable
        # Ubuntu focal and beyond no longer has a full i386
        combination-filter: '(ARCHITECTURE != "i386" ||
                              (SUITE != "focal" && SUITE != "hirsute" )
                             )'
    axes:
        - axis:
            type: label-expression
            name: ARCHITECTURE
            values:
                - amd64
                - i386
        - axis:
            type: label-expression
            name: SUITE
            values:
                - stretch
                - buster
                - bullseye
                - bookworm
                - sid
                - xenial
                - bionic
                - focal
                - hirsute
    logrotate:
        daysToKeep: -1
        numToKeep: 5
        artifactDaysToKeep: -1
        artifactNumToKeep: -1
    wrappers:
        - workspace-cleanup:
            include:
              - "**"
        - timestamps
        - timeout:
            timeout: 600
            fail: true
    publishers:
        - notify-tor-irc
        - post-workspace-cleanup