aboutsummaryrefslogtreecommitdiff
path: root/linaro-art-build-metrics.yaml
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2016-07-08 10:55:02 -0500
committerDaniel Díaz <daniel.diaz@linaro.org>2016-07-19 12:13:38 -0500
commit9016dd27b3c26168be8a6d13a2ed266e8701180d (patch)
treec9347e0b29ab8744ab56a1a96943479e71f3a352 /linaro-art-build-metrics.yaml
parent01f04c32a267c4f206a6ec24bbe8fa4487b624c5 (diff)
art: Make Build Metrics functional again.
Enable job with Vishal's repository of art-build-tests, as was set up at some point back in time. Use another key for the Jenkins API instead of the previous ART_TOKEN. The job is being renamed from art-* to linaro-art-* so that it gains visibility through the ART monitors. Change-Id: I82b33a8c6f7fb52b36f0edf8c1b2a24dd14c6d69 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'linaro-art-build-metrics.yaml')
-rw-r--r--linaro-art-build-metrics.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/linaro-art-build-metrics.yaml b/linaro-art-build-metrics.yaml
new file mode 100644
index 00000000..7c089bf3
--- /dev/null
+++ b/linaro-art-build-metrics.yaml
@@ -0,0 +1,46 @@
+- job:
+ name: linaro-art-build-metrics
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-discover
+ linaro-android-builders:
+ - job-read
+ - job-extended-read
+ - job-workspace
+ linaro-art:
+ - job-read
+ - job-extended-read
+ - job-workspace
+ - build-discarder:
+ days-to-keep: 60
+ num-to-keep: 60
+ parameters:
+ - password:
+ name: TOKEN
+ default: ${ART_METRICS_TOKEN}
+ disabled: false
+ node: docker-utopic-art
+ display-name: 'ART - Build Metrics'
+ concurrent: true
+ triggers:
+ - timed: '0 H H/7 * *'
+ wrappers:
+ - timestamps
+ - timeout:
+ timeout: 200
+ builders:
+ - shell: |
+ #!/bin/bash
+ rm -rf art-build-tests android
+ #set -xe
+
+ git clone git://git.linaro.org/people/vishal.bhoj/art-build-tests.sh.git art-build-tests
+ cd art-build-tests/job-metrics/
+ sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
+ sudo apt-get update
+ sudo apt-get install -y xml-twig-tools bc
+ . ./metrics.sh $TOKEN
+ cat results.txt