aboutsummaryrefslogtreecommitdiff
path: root/trigger-build-odp-next.yaml
blob: 675ebfb941008db5f355f06319ac4f381b794654 (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
- job:
    name: trigger-build-odp-api-next
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
    parameters:
        - string:
            name: GIT_BRANCH
            default: 'next'
    disabled: false
    node: build
    display-name: 'Trigger for ODPs next'
    scm:
        - git:
            url: https://git.linaro.org/lng/odp.git
            refspec: +refs/heads/${GIT_BRANCH}:refs/remotes/origin/${GIT_BRANCH}
            name: origin
            branches:
                - refs/heads/${GIT_BRANCH}
            basedir: odp
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    triggers:
        - pollscm: 'H/5 * * * *'
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    publishers:
        - trigger-parameterized-builds:
            - project:
                - odp-api-check
                - odp-publish
                - odp-tool-check
              predefined-parameters: GIT_BRANCH=${GIT_BRANCH}
              condition: SUCCESS