Fix 1527 for v9.0
[osm/devops.git] / jenkins / ci-pipelines / ci_stage_3.groovy
index 6e23ba3..ee50a3f 100644 (file)
@@ -308,9 +308,10 @@ node("${params.NODE}") {
                     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()
@@ -416,9 +417,9 @@ node("${params.NODE}") {
                                     --tag ${container_name}
                             """
                         }
-                        prometheusHostname = "prometheus."+IP_ADDRESS+".xip.io"
+                        prometheusHostname = "prometheus."+IP_ADDRESS+".nip.io"
                         prometheusPort = 80
-                        osmHostname = "nbi."+IP_ADDRESS+".xip.io:443"
+                        osmHostname = "nbi."+IP_ADDRESS+".nip.io:443"
                     } else {
                         // Run -k8s installer here specifying internal docker registry and docker proxy
                         withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'gitlab-registry',
@@ -462,7 +463,7 @@ node("${params.NODE}") {
                                 hostfile="${tempdir}/hosts"
                                 sh """cat << EOF > ${hostfile}
 127.0.0.1           localhost
-${remote.host}      prometheus.${remote.host}.xip.io nbi.${remote.host}.xip.io
+${remote.host}      prometheus.${remote.host}.nip.io nbi.${remote.host}.nip.io
 EOF"""
                             } else {
                                 hostfile=null