aboutsummaryrefslogtreecommitdiff
path: root/trigger-tvm-ci-build.yaml
blob: 129b9841db0dc9e7b9a2197ff209b31efb6399ce (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
- job:
    name: trigger-tvm-ci-build
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    disabled: false
    node: triggers
    display-name: 'Trigger for tvm-ci-build'
    scm:
        - git:
            url: https://github.com/apache/tvm.git
            branches:
                - origin/main
            submodule:
                recursive: true
    triggers:
        - pollscm:
            cron: 'H/5 * * * *'
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash -e
            git clean -fdx
            echo GIT_COM_ID=${GIT_COMMIT} >> tvm_ci_parameters
            cat tvm_ci_parameters
    publishers:
        - trigger-parameterized-builds:
            - project: 'tvm-ci-build'
              property-file: tvm_ci_parameters