From: David Garcia Date: Mon, 28 Jun 2021 14:50:42 +0000 (+0200) Subject: Update stage 3 base image X-Git-Tag: v10.1.0-rc1~16 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F11623%2F1;p=osm%2Fdevops.git Update stage 3 base image 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 --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 1542cd73..8b43992d 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -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 \