blob: dc9d823dfc878803de73457d61bbb36a9296a07d (
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
94
95
|
- job:
name: tcwg-update-llvmbot-containers
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: 100
- build-blocker:
use-build-blocker: true
blocking-jobs:
- "ci-dockerfiles-deployment"
queue-scanning: 'ALL'
- throttle:
max-per-node: 1
option: project
parameters:
- label:
name: nodes
default: tcwg-llvmbot
all-nodes: true
matching-label: 'allCases'
node-eligibility: 'ignore-offline'
description: 'Machines to run on'
- string:
name: distro
default: 'xenial'
description: 'Distro version to use'
- string:
name: master
default: 'normal'
description: 'LLVM buildmaster to use: silent or normal'
- bool:
name: verbose
default: 'true'
description: 'Whether to be verbose'
- string:
name: scripts_branch
default: master
description: 'Scripts revision to use'
disabled: false
node: tcwg-coordinator
concurrent: false
display-name: 'TCWG CCC Update llvmbot containers'
scm:
- git:
url: https://git.linaro.org/toolchain/jenkins-scripts.git
refspec: +refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/*
branches:
- ${scripts_branch}
skip-tag: true
shallow-clone: true
wipe-workspace: true
triggers:
- gerrit:
server-name: 'review.linaro.org'
trigger-on:
- change-merged-event
projects:
- project-compare-type: 'PLAIN'
project-pattern: 'ci/dockerfiles'
branches:
- branch-pattern: 'master'
file-paths:
- compare-type: ANT
pattern: tcwg-base/tcwg-llvmbot/**
silent-start: true
wrappers:
- timeout:
timeout: 600
- timestamps
- credentials-binding:
- text:
credential-id: TCWG_LLVMBOT_PASSWORD
variable: TCWG_LLVMBOT_PASSWORD
- build-name:
name: '#${BUILD_NUMBER}-${NODE_NAME}'
builders:
- shell: |
#!/bin/bash
set -ex
./tcwg-update-llvmbot-containers.sh \
--NODE_NAME "$NODE_NAME" \
--distro "$distro" \
--master "$master" \
--password "$TCWG_LLVMBOT_PASSWORD" \
--verbose "$verbose"
|