aboutsummaryrefslogtreecommitdiff
path: root/96boards-hikey-debian.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2018-03-02 19:15:37 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2018-03-02 19:15:37 +0200
commita5f591d8ebc3b1c94c3ba5327c4fed79b124bf54 (patch)
tree960d19a91149e3975eff124399293b451351c6ad /96boards-hikey-debian.yaml
parentec7bd7a6f310936c03ca24eee14abbdad2b3c5cf (diff)
96boards-hikey-debian: reduce code duplication
There's a generic snippet to set the build location URL. Re-use it. Change-Id: I0e293af30403a241d50d1a3261aa7857dbc7dd95 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to '96boards-hikey-debian.yaml')
-rw-r--r--96boards-hikey-debian.yaml17
1 files changed, 7 insertions, 10 deletions
diff --git a/96boards-hikey-debian.yaml b/96boards-hikey-debian.yaml
index cda679da97..262e00c1a0 100644
--- a/96boards-hikey-debian.yaml
+++ b/96boards-hikey-debian.yaml
@@ -27,6 +27,9 @@
- string:
name: ROOTFS
default: 'developer,1800M alip,3G'
+ - string:
+ name: PUB_DEST
+ default: '96boards/hikey/${VENDOR}/debian/${BUILD_NUMBER}'
disabled: false
node: docker-stretch-arm64
display-name: 'Debian based images for HiKey'
@@ -55,17 +58,11 @@
time python ${HOME}/bin/linaro-cp.py \
--server ${PUBLISH_SERVER} \
--link-latest \
- out 96boards/hikey/${VENDOR}/debian/${BUILD_NUMBER}
+ out ${PUB_DEST}
publishers:
- groovy-postbuild:
- script: |
- def build_number = manager.build.number
- def vendor = manager.build.buildVariables.get('VENDOR')
- def url = "http://snapshots.linaro.org/96boards/hikey/${vendor}/debian/${build_number}/"
- def desc = "&nbsp;<a href='${url}'>Build location<t/a>"
-
- if (manager.build.result == hudson.model.Result.SUCCESS) {
- manager.build.setDescription(desc)
- }
+ script:
+ !include-raw:
+ - lt-qcom-debian-images/postbuild.groovy
- email:
recipients: 'riku.voipio@linaro.org fathi.boudra@linaro.org'