aboutsummaryrefslogtreecommitdiff
path: root/rpb-openembedded-master.yaml
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2018-12-03 08:59:21 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2018-12-10 11:59:42 +0000
commit4f849cabd73fc0519f3eb9e4f67a230efd688840 (patch)
tree24771cfcedbdcbe70b75281b3e546a8e4731d3db /rpb-openembedded-master.yaml
parent6e2a1758f2f779c854d09aa4b5a0060cdc10bac9 (diff)
rpb-openembedded-*-premerge-ci: fix publishing destination
Jenkins doesn't override already set build parameters through inject variables. Hence set the pub_dest for all jobs through inject variable Change-Id: I742b6f9dab4eed4b8156d7fef3eb6c5eca9b3715 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'rpb-openembedded-master.yaml')
-rw-r--r--rpb-openembedded-master.yaml40
1 files changed, 7 insertions, 33 deletions
diff --git a/rpb-openembedded-master.yaml b/rpb-openembedded-master.yaml
index 4dce553b..a0308cae 100644
--- a/rpb-openembedded-master.yaml
+++ b/rpb-openembedded-master.yaml
@@ -18,39 +18,7 @@
- job-build
- job-cancel
parameters:
- - string:
- name: IMAGES
- default: 'rpb-console-image rpb-console-image-test'
- - string:
- name: IMAGES_RPB
- default: 'rpb-desktop-image rpb-desktop-image-test'
- - string:
- name: IMAGES_RPB_WAYLAND
- default: 'rpb-weston-image rpb-weston-image-test'
- - string:
- name: MANIFEST_URL
- default: 'https://github.com/96boards/oe-rpb-manifest.git'
- - string:
- name: MANIFEST_BRANCH
- default: 'master'
- - string:
- name: BASE_URL
- default: 'http://snapshots.linaro.org/'
- - string:
- name: PUB_DEST
- default: 'reference-platform/embedded/${MANIFEST_BRANCH}/${MACHINE}/${BUILD_NUMBER}/${DISTRO}'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- - string:
- name: QA_SERVER
- default: 'https://qa-reports.linaro.org'
- - string:
- name: QA_SERVER_PROJECT
- default: 'rpb-oe'
- - string:
- name: QA_SERVER_TEAM
- default: 'rpb'
+ !include: rpb-openembedded-master-params.yaml.inc
disabled: false
node: master
display-name: 'Reference Platform - OpenEmbedded (master)'
@@ -95,6 +63,12 @@
builders:
- shell: |
#!/bin/bash
+ PUB_DEST="reference-platform/embedded/${MANIFEST_BRANCH}/${MACHINE}/${BUILD_NUMBER}/${DISTRO}"
+ echo "PUB_DEST=${PUB_DEST}" > pub_dest_parameters
+ - inject:
+ properties-file: pub_dest_parameters
+ - shell: |
+ #!/bin/bash
# Mapping for MACHINE -> DEVICE_TYPE
case "${MACHINE}" in