blob: 570852d787b824133a230ee4ed0b21a51b916006 (
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
|
- job:
name: trigger-private-lkft-ci-job-configs
project-type: freestyle
defaults: global
properties:
- authorization:
anonymous:
- job-discover
kv-team:
- job-read
- job-extended-read
- build-discarder:
days-to-keep: 30
num-to-keep: 200
disabled: false
node: triggers
display-name: 'CI job configs deployment for LKFT LT Private Jobs'
triggers:
- gerrit:
server-name: 'dev-private-review.linaro.org'
trigger-on:
- change-merged-event
projects:
- project-compare-type: 'PLAIN'
project-pattern: 'lkft/ci/job/configs'
branches:
- branch-pattern: 'master'
wrappers:
- timestamps
- credentials-binding:
- text:
credential-id: JJB_USER
variable: JJB_USER
- credentials-binding:
- text:
credential-id: JJB_PASSWORD
variable: JJB_PASSWORD
- credentials-binding:
- text:
credential-id: LAVA_USER
variable: LAVA_USER
- credentials-binding:
- text:
credential-id: LAVA_TOKEN
variable: LAVA_TOKEN
- credentials-binding:
- text:
credential-id: LKFT_PRIVATE_KEY
variable: LKFT_PRIVATE_KEY
- credentials-binding:
- text:
credential-id: AUTH_TOKEN
variable: AUTH_TOKEN
- ssh-agent-credentials:
users:
- 'LKFT_COMMIT_BOT_KEY'
builders:
- shell: |
#!/bin/bash -e
echo "#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION:0:8}" > ${WORKSPACE}/version.txt
- build-name-setter:
name: 'version.txt'
file: true
- shell:
!include-raw: trigger-private-ci-job-configs/poll-jobs.sh
publishers:
- email:
recipients: 'riku.voipio@linaro.org ben.copeland@linaro.org dan.rue@linaro.org daniel.diaz@linaro.org'
|