blob: d09b5355f49040f6b5b825ffaef910050e6ca394 (
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
|
- job:
name: bhoj-test
project-type: freestyle
defaults: global
logrotate:
daysToKeep: 30
numToKeep: 30
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
vishal.bhoj@linaro.org:
- job-build
- job-read
- job-extended-read
- job-configure
- job-cancel
parameters:
- string:
name: KERNEL_BRANCH
default: 'android-hikey-linaro-4.4'
disabled: false
node: master
display-name: 'Trigger for LKFT HiKey builds (4.4 branch)'
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: LT_QCOM_KEY
variable: LT_QCOM_KEY
- credentials-binding:
- text:
credential-id: AUTH_TOKEN
variable: AUTH_TOKEN
- credentials-binding:
- text:
credential-id: QA_REPORTS_TOKEN
variable: QA_REPORTS_TOKEN
- build-name:
name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
builders:
- shell: |
#!/bin/bash -e
rm -rf kernel-testing-configs
git clone https://git.linaro.org/people/vishal.bhoj/kernel-testing-configs.git
cat kernel-testing-configs/test-params/test-kernel-ci-project
- inject:
properties-file: kernel-testing-configs/test-params/test-kernel-ci-project
- shell: |
#!/bin/bash -e
cd kernel-testing-configs
./generate-jjb-config.sh $QA_REPORTS_TOKEN
cat *.yaml
git add .
git commit -m "Added new jobs"
wget https://git.linaro.org/ci/job/configs.git/plain/run-jjb.py
export GIT_PREVIOUS_COMMIT=$(git rev-parse HEAD~1)
export GIT_COMMIT=$(git rev-parse HEAD)
jenkins-jobs --version
git log
git clone https://git.linaro.org/ci/job/configs.git
cp -rf configs/* .
python run-jjb.py
|