blob: ed9599510c2745e81f2d28aadef7641c83d310c1 (
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
|
<builders>
<linaro.pubapi.LinaroPubAPIKey />
<hudson.plugins.shell.ShellWithStatus>
<command># Runs as ubuntu
rm -rf build-tools jenkins-tools
git clone https://git.linaro.org/infrastructure/linaro-android-build-tools.git build-tools
git clone https://git.linaro.org/infrastructure/linaro-jenkins-tools.git jenkins-tools
PUB_SERVER=https://snapshots.linaro.org/
PUB_DEST=/android/$JOB_NAME/$BUILD_NUMBER
sudo -H -E build-tools/node/build us-east-1.ec2-git-mirror.linaro.org "$CONFIG"
time linaro-cp.py --manifest --no-build-info --split-job-owner --server $PUB_SERVER build/out $PUB_DEST \
--include "^[^/]+[._](img|tar[^/]*|xml|sh|config)$" \
--include "^[BHi][^/]+txt$" \
--include "^(MANIFEST|MD5SUMS)$"
build-tools/node/lava-submit "$CONFIG"
time linaro-cp.py --no-build-info --split-job-owner --server $PUB_SERVER build/out/lava-job-info $PUB_DEST
echo "Build finished"
</command>
</hudson.plugins.shell.ShellWithStatus>
</builders>
|