aboutsummaryrefslogtreecommitdiff
path: root/linaro-art-tip-build-ARTVIXL32TargetTest.yaml
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2016-10-03 13:33:19 +0100
committerVishal Bhoj <vishal.bhoj@linaro.org>2016-10-05 09:31:12 +0000
commitc8532b2ba8fcf7fe7bbde257e75f998715be5faf (patch)
tree7125729231e42db46cc7fed72397ddd7e98556ff /linaro-art-tip-build-ARTVIXL32TargetTest.yaml
parent70cbded4098391e3cce1d7192394aabe3f045ced (diff)
Create a VIXL32 Jenkins job
This job will run all the non-blacklisted target tests against the new VIXL32 based ARM backend. The blacklisted tests are listed in test/Android.arm_vixl.mk This job may only be triggered with the "IncludeVIXL32TargetTests" comment in gerrit Change-Id: I39d69c08f44c10cae13248532b1d8ac172df7b2a
Diffstat (limited to 'linaro-art-tip-build-ARTVIXL32TargetTest.yaml')
-rw-r--r--linaro-art-tip-build-ARTVIXL32TargetTest.yaml129
1 files changed, 129 insertions, 0 deletions
diff --git a/linaro-art-tip-build-ARTVIXL32TargetTest.yaml b/linaro-art-tip-build-ARTVIXL32TargetTest.yaml
new file mode 100644
index 0000000000..b9f4b0ede9
--- /dev/null
+++ b/linaro-art-tip-build-ARTVIXL32TargetTest.yaml
@@ -0,0 +1,129 @@
+- job:
+ name: linaro-art-tip-build-ARTVIXL32TargetTest
+ project-type: freestyle
+ defaults: global
+ description: >
+ Runs the optimizing 32bit
+ <a href="https://android-git.linaro.org/gitweb/linaro-art/art-build-scripts.git/blob/HEAD:tests/test_art_target.sh">Target Tests</a>
+ that are not blacklisted in test/Android.arm_vixl.mk
+ with the new VIXL32 based ARM backend.
+ The build slave in set up in the cloud and speaks with the physical device using
+ adb port forwarding via SSH.
+ This job is for the tip.
+ This build can only be triggered by adding the comment "IncludeVIXL32TargetTests" in your Gerrit patch.
+ 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: 60
+ num-to-keep: 60
+ parameters:
+ - string:
+ name: ADB_VERSION
+ default: 'adb-tip'
+ - 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-aosp_flounder'
+ disabled: false
+ node: docker-utopic-art
+ display-name: 'Tip: Target Test (VIXL32)'
+ concurrent: true
+ scm:
+ - git:
+ url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/art.git
+ branches:
+ - origin/master
+ credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
+ skip-tag: true
+ shallow-clone: true
+ wipe-workspace: false
+ triggers:
+ - gerrit:
+ override-votes: true
+ gerrit-build-successful-verified-value: 1
+ gerrit-build-failed-verified-value: -1
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: '.*IncludeVIXL32TargetTests.*'
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'linaro-art/platform/build'
+ branches:
+ - branch-pattern: 'master'
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'linaro-art/platform/art'
+ branches:
+ - branch-pattern: 'master'
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'linaro-art/platform/external/vixl'
+ branches:
+ - branch-pattern: 'master'
+ wrappers:
+ - timestamps
+ - timeout:
+ timeout: 500
+ - credentials-binding:
+ - text:
+ credential-id: PRIVATE_KEY
+ variable: PRIVATE_KEY
+ 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}
+
+ # Private key
+ wget https://git.linaro.org/people/daniel.diaz/ci/misc-utils.git/blob_plain/HEAD:/add-private-key.sh
+ source add-private-key.sh
+
+ cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
+ # Port forwarding magic to have access to Nexus devices
+ source /home/buildslave/srv/nexus-config
+ export ANDROID_SERIAL=${BULLHEAD}
+ ./setup_adb.sh
+ ./setup_host.sh
+ ./setup_android.sh
+
+ cd ${ANDROID_BUILD_DIR}
+ export ART_USE_VIXL_ARM_BACKEND=true
+ perl scripts/jenkins/test_launcher.pl \
+ scripts/tests/test_art_target.sh --32bit --optimizing
+ publishers:
+ - email-ext:
+ recipients: '${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL},vishal.bhoj@linaro.org,daniel.diaz@linaro.org,julien.duraj@linaro.org'
+ 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'
+ - 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/postbuild.groovy