Skip to content
Snippets Groups Projects
Commit 7aff5660 authored by vicens's avatar vicens
Browse files

Removing extra osm in OSM_HOSTNAME variable for robotframework


Change-Id: I7a9b130275edc649dd4806c73e519ea81867548d
Signed-off-by: default avatarFelipe Vicens <felipe.vicens@atos.net>
parent 039ed177
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ def run_robot_systest(stackName,tagName,testName,envfile=null,kubeconfig=null,cl
sh(script: "touch ${tempdir}/env")
envfile="${tempdir}/env"
}
sh "docker run --network net${stackName} --env OSM_HOSTNAME=osm${stackName}_nbi --env-file ${envfile} -v ${clouds}:/etc/openstack/clouds.yaml -v ${kubeconfig}:/root/.kube/config -v ${tempdir}:/robot-systest/reports opensourcemano/tests:${tagName} -c -t ${testName}"
sh "docker run --network net${stackName} --env OSM_HOSTNAME=${stackName}_nbi --env-file ${envfile} -v ${clouds}:/etc/openstack/clouds.yaml -v ${kubeconfig}:/root/.kube/config -v ${tempdir}:/robot-systest/reports opensourcemano/tests:${tagName} -c -t ${testName}"
sh "cp ${tempdir}/* ."
outputDirectory = sh(returnStdout: true, script: "pwd").trim()
println ("Present Directory is : ${outputDirectory}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment