aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2017-11-13 10:35:19 +0000
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-11-13 13:27:03 +0000
commit175278284fc16fc655ac40f9f3750428c9d492bb (patch)
tree78cb48c4aef7869bcdbc71d8a354a8b0fcd6c8a2
parent768df2305b7a8b128f7f4fb11dd6a12d25d0b82e (diff)
downloadconfigs-175278284fc16fc655ac40f9f3750428c9d492bb.tar.gz
ART: nightly boot2gui job on the emulator
Change-Id: I47560d097b3bdd7bb9a86ed87642b90eaeda783e
-rw-r--r--linaro-art-tip-build-ARTBoot2guiTest.yaml83
1 files changed, 83 insertions, 0 deletions
diff --git a/linaro-art-tip-build-ARTBoot2guiTest.yaml b/linaro-art-tip-build-ARTBoot2guiTest.yaml
new file mode 100644
index 000000000..9fe48e5d3
--- /dev/null
+++ b/linaro-art-tip-build-ARTBoot2guiTest.yaml
@@ -0,0 +1,83 @@
+- job:
+ name: linaro-art-tip-build-ARTBoot2guiTest
+ project-type: freestyle
+ defaults: global
+ description: >
+ Builds the tip of AOSP nightly and tests whether boot to gui is successful using the emulator.
+ properties:
+ - authorization:
+ anonymous:
+ - job-discover
+ linaro-android-builders:
+ - job-read
+ - job-extended-read
+ - job-workspace
+ linaro-art:
+ - job-build
+ - job-read
+ - job-extended-read
+ - job-workspace
+ - build-discarder:
+ days-to-keep: 90
+ num-to-keep: 90
+ parameters:
+ - string:
+ name: BUILD_CONFIG_REPO
+ default: 'git://android-git.linaro.org/android-build-configs.git'
+ - string:
+ name: BUILD_CONFIG_BRANCH
+ default: 'master'
+ - string:
+ name: BUILD_CONFIG_FILENAME
+ default: 'linaro-art-tip'
+ disabled: false
+ node: docker-utopic-art
+ display-name: 'Tip: Boot to GUI Test'
+ concurrent: true
+ triggers:
+ - pollscm: '@nightly'
+ wrappers:
+ - timestamps
+ - timeout:
+ timeout: 500
+ - ssh-agent-credentials:
+ users:
+ - '768c1ba1-6052-4b97-a531-7e4fabda6979'
+ builders:
+ - shell: |
+ CI_MAIL_RECIPIENTS="${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL}"
+ CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},vishal.bhoj@linaro.org"
+ CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},daniel.diaz@linaro.org"
+ CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},julien.duraj@linaro.org"
+ echo "CI_MAIL_RECIPIENTS=${CI_MAIL_RECIPIENTS}" > env_var_parameters
+ - inject:
+ properties-file: env_var_parameters
+ - 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
+ ./setup_host.sh
+ ./setup_android.sh
+
+ cd ${ANDROID_BUILD_DIR}
+ perl scripts/jenkins/test_launcher.pl \
+ scripts/tests/test_boot_to_gui_emulator.sh
+ publishers:
+ - email-ext:
+ recipients: '${CI_MAIL_RECIPIENTS}'
+ content-type: text
+ body: |
+ Build Triggered by: ${GERRIT_CHANGE_SUBJECT}: ${GERRIT_CHANGE_URL}
+ 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}
+ - archive:
+ artifacts: '*.txt, *.xml'