Update stage 3 base image 23/11623/1
authorDavid Garcia <david.garcia@canonical.com>
Mon, 28 Jun 2021 14:50:42 +0000 (16:50 +0200)
committerbeierlm <mark.beierl@canonical.com>
Thu, 3 Feb 2022 15:27:49 +0000 (10:27 -0500)
While the base image can be set via the Jenkins job parameters,
the code to use that parameter was not present in the v10 branch.
This change uses the OPENSTACK_BASE_IMAGE parameter

Change-Id: I229cdca38e605b419a7528031fec542049311c48
Signed-off-by: beierlm <mark.beierl@canonical.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 1542cd7..8b43992 100644 (file)
@@ -361,7 +361,7 @@ node("${params.NODE}") {
                     output=sh(returnStdout: true, script: """#!/bin/sh -e
                         for line in `grep OS ~/hive/robot-systest.cfg | grep -v OS_CLOUD` ; do export \$line ; done
                         openstack server create --flavor osm.sanity \
-                                                --image ubuntu18.04 \
+                                                --image ${OPENSTACK_BASE_IMAGE} \
                                                 --key-name CICD \
                                                 --property build_url="${BUILD_URL}" \
                                                 --nic net-id=osm-ext \