blob: 0f00289d1050b701c20fd243cecf83df1a1d9aad (
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
|
- job:
name: android-master-clang
project-type: freestyle
defaults: global
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
linaro:
- job-build
- job-cancel
- build-discarder:
days-to-keep: 60
num-to-keep: 60
disabled: false
node: docker-utopic-aosp
display-name: 'AOSP Master built with upstream Clang toolchain'
wrappers:
- timestamps
- timeout:
timeout: 500
builders:
- shell: |
#!/bin/bash
sudo apt-get update
sudo apt-get install -y libxml2-dev zlib1g-dev libtinfo-dev git-svn gawk libxml2-utils rsync
wget -q \
http://archive.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u45-b14-1_amd64.deb \
http://archive.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre_8u45-b14-1_amd64.deb \
http://archive.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jdk_8u45-b14-1_amd64.deb \
https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.sh
sudo dpkg -i --force-all *.deb
rm -f *.deb
yes y | bash cmake-3.5.2-Linux-x86_64.sh
export PATH=${PWD}/cmake-3.5.2-Linux-x86_64/bin/:${PATH}
git clone --depth=1 http://git.linaro.org/git/people/minseong.kim/aosp_uclang.git
(cd aosp_uclang && bash aosp-uclang-init-and-build.sh)
publishers:
- email-ext:
recipients: 'minseong.kim@linaro.org,vishal.bhoj@linaro.org,daniel.diaz@linaro.org'
content-type: text
body: |
Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
Errors:
${BUILD_LOG_REGEX, regex=".*ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- logparser:
parse-rules: '/var/lib/jenkins/userContent/android.parse'
unstable-on-warning: false
fail-on-error: false
- fingerprint:
files: 'build/fingerprints/*'
|