aboutsummaryrefslogtreecommitdiff
path: root/kselftest.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-04-07 14:23:42 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2017-04-07 14:25:17 +0300
commit0194099dc8fd3a156b1dec658fb42b9be32c7016 (patch)
tree173700b691b82b5563103b6b99148ab5a62acea4 /kselftest.yaml
parent3dd1499b5eeccf59de59d5fc3960661c2ae03c10 (diff)
kselftest: add publishing artifacts
Change-Id: I88168da14468cd7114855ae3c198d93293fc28a7 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'kselftest.yaml')
-rw-r--r--kselftest.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/kselftest.yaml b/kselftest.yaml
index f490ab1424..c22517cf69 100644
--- a/kselftest.yaml
+++ b/kselftest.yaml
@@ -44,3 +44,15 @@
- build-name-setter:
name: 'version.txt'
file: true
+ - linaro-publish-token
+ - shell: |
+ #!/bin/bash
+
+ # Publish
+ test -d ${HOME}/bin || mkdir ${HOME}/bin
+ wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
+ time python ${HOME}/bin/linaro-cp.py \
+ --server ${PUBLISH_SERVER} \
+ --link-latest \
+ tools/testing/selftests/out/ \
+ components/kernel/${JOB_NAME}/$(dpkg-architecture -qDEB_HOST_ARCH)/${BUILD_NUMBER}