aboutsummaryrefslogtreecommitdiff
path: root/tcwg-llvm_woa-build.yaml
blob: 746c62d6e3955a767390f3f9d76e6b30968cb495 (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
# Auto generated by ./tcwg/generate-yamlfiles.sh from tcwg-dev-build.yaml.in and tcwg-dev-build/tcwg-llvm_woa-build.def. Do not edit.
#BEGIN: tcwg/default.yaml.inc
# -*- mode: Yaml -*-

- property:
    name: default-properties
    properties:
      - authorization:
          anonymous:
            - job-read
            - job-extended-read
          linaro:
            - job-build
            - job-cancel
      - build-discarder:
          days-to-keep: 30
          num-to-keep: 30

- scm:
    name: jenkins-scripts
    scm:
      - git:
          url: https://git.linaro.org/toolchain/jenkins-scripts.git
          refspec: +refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/*
          branches:
            - $scripts_branch
          basedir: jenkins-scripts
          skip-tag: true
          reference-repo: /home/tcwg-buildslave/snapshots-ref/jenkins-scripts.git
          wipe-workspace: false
          clean:
            before: true
          prune: true

#END:   tcwg/default.yaml.inc

- job:
    name: tcwg-llvm_woa-build
    project-type: freestyle
    defaults: global
    properties:
      - default-properties
    parameters:
        - string:
            name: release
            default: 'main'
            description: 'Release build ID (13.0.0-rc1, 13.0.0) or git branch/sha1'
        - choice:
            name: build_type
            choices:
              - test
              - release
        - label:
            name: builder
            default: tcwg-surface
            description: 'Jenkins label to build on; determines host of the toolchain'
        - string:
            name: scripts_branch
            default: master
            description: 'Scripts revision to use'
    disabled: false
    concurrent: true
    display-name: 'TCWG AAA llvm windows Build'
    # Save bytes in limited 250-byte windows PATHs
    workspace: ws/tdb$EXECUTOR_NUMBER
    scm:
      - jenkins-scripts
    wrappers:
        - timeout:
            timeout: 1800
        - timestamps
        - build-name:
            name: '#$BUILD_NUMBER-$release/$builder'
        - workspace-cleanup
    builders:
      - batch: |
          jenkins-scripts\tcwg-llvm-release.bat %release% %build_type%
    publishers:
        - archive:
            artifacts: 'artifacts/**'
            latest-only: false
# checksum: 64228de9da48bc024544cf1c6635e714