blob: 480553fad01ede9397eb983fb341e6639eec05bf (
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
- job:
name: openembedded-armv8-ilp32-rootfs
project-type: matrix
defaults: global
logrotate:
daysToKeep: 30
numToKeep: 30
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
linaro:
- job-build
- job-cancel
disabled: false
node: build
display-name: 'OpenEmbedded ARMv8 ILP32 rootfs'
scm:
- git:
url: https://git.linaro.org/openembedded/jenkins-setup.git
refspec: +refs/heads/master:refs/remotes/origin/master
name: origin
branches:
- refs/heads/master
skip-tag: true
shallow-clone: true
wipe-workspace: false
axes:
- axis:
type: slave
name: label
values:
- build
- axis:
type: user-defined
name: gcc_version
values:
- 4.9
- axis:
type: user-defined
name: rootfs
values:
- minimal
- minimal-initramfs
- minimal-ltp
execution-strategy:
sequential: true
touchstone:
expr: 'rootfs=="minimal"'
wrappers:
- timestamps
- matrix-tie-parent:
node: build
builders:
- shell: |
#!/bin/bash
set -x
export PATH="$HOME/bin:$PATH"
# we clean build and populate it from cache
bash -x pre-build-do-cleanup.sh
if [ `date +%u` = "6" ] && [ "${rootfs}" = "minimal" ]
then
echo "manual hard cleanup on day 6"
bash periodic-cleanup.sh hard
fi
# do a build
if [ "${rootfs}" = "lamp" ]
then
MACHINE=genericarmv8-ilp32 bash -x init-and-build.sh -a armv8 -g ${gcc_version} linaro-image-${rootfs}
else
MACHINE=genericarmv8-ilp32 bash -x init-and-build.sh -a armv8 -g ${gcc_version} linaro-image-${rootfs}
fi
cd ${WORKSPACE}
MACHINE=genericarmv8-ilp32 bash -x post-build-create-image-manifest.sh
MACHINE=genericarmv8-ilp32 bash -x post-build-sort-out-downloads.sh
# Capture what we're building in the build output.
repo manifest -r
cat << EOF > out/BUILD-INFO.txt
Format-Version: 0.5
Files-Pattern: *
License-Type: open
EOF
cat << EOF > downloads/BUILD-INFO.txt
Format-Version: 0.5
Files-Pattern: *
License-Type: open
EOF
- ssh:
site: 'snapshots.linaro.org'
target: '${JOB_NAME}/${BUILD_NUMBER}/openembedded/images/${rootfs}-armv8-ilp32-gcc-${gcc_version}/${BUILD_NUMBER}'
source: 'out/**'
timeout: 120000
remove-prefix: 'out'
always-publish-from-master: true
- ssh:
site: 'snapshots.linaro.org file-move'
target: ''
source: ''
command: 'reshuffle-files --job-type prebuilt --job-name ${JOB_NAME} --build-num ${BUILD_NUMBER}'
timeout: 120000
always-publish-from-master: true
- ssh:
site: 'snapshots.linaro.org'
target: '/openembedded/sources'
source: 'downloads/**'
timeout: 120000
remove-prefix: 'downloads'
always-publish-from-master: true
- ssh:
site: 'snapshots.linaro.org file-move'
target: ''
source: ''
command: 'reshuffle-files --job-type openembedded --job-name sources --build-num 1'
timeout: 120000
always-publish-from-master: true
publishers:
- email:
recipients: 'fathi.boudra@linaro.org koen.kooi@linaro.org'
|