Changes flavor to a sanity constant so we can tailor it without
needing further code changes.
Change-Id: Ife5d2e84dce09d126e7f16c660c47b629833094c
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit
a070ce73ab96b90d630f8451a2912f8eaf71a8b0)
println("Launching new VM")
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 m1.xlarge \
+ openstack server create --flavor osm.sanity \
--image ubuntu18.04 \
--key-name CICD \
+ --property build_url="${BUILD_URL}" \
--nic net-id=osm-ext \
${container_name}
""").trim()