blob: 5310284f6b6b4243df31930ff9f748a8e64441d2 (
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
|
- job:
name: linaro-art-julien-sandbox
project-type: freestyle
defaults: global
description: >
This job is for Julien to update NUC device
properties:
- authorization:
anonymous:
- job-discover
linaro-android-builders:
- job-read
- job-extended-read
- job-workspace
julien.duraj@linaro.org:
- job-build
- job-configure
- job-read
- job-extended-read
- job-workspace
- build-discarder:
days-to-keep: 60
num-to-keep: 60
- copyartifact:
projects: post-build-reports
disabled: false
node: docker-utopic-art
display-name: 'ART: Julien sandbox to deploy changes to nuc'
concurrent: false
triggers:
- pollscm: 'H/5 * * * *'
wrappers:
- timestamps
- timeout:
timeout: 500
- ssh-agent-credentials:
users:
- '768c1ba1-6052-4b97-a531-7e4fabda6979'
builders:
- shell: |
#!/bin/bash -xe
# Build scripts
ANDROID_BUILD_DIR="${HOME}/srv/${JOB_NAME}/android"
ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}
cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
# Get the ip address of the nuc to connect to adb over network
source /home/buildslave/srv/nexus-config
export ANDROID_SERIAL=${NUC}
./setup_host.sh
./setup_android.sh
publishers:
- archive:
artifacts: '*.txt, *.xml, *.json'
- logparser:
parse-rules: '/var/lib/jenkins/userContent/android-art.parse'
unstable-on-warning: false
fail-on-error: false
- groovy-postbuild:
script:
!include-raw:
- linaro-art/global.groovy
- trigger-parameterized-builds:
- project: 'post-build-reports'
property-file: post_build_reports_parameters
|