Update e2e pipeline to fix entrypointCmd to point to osm script
Change-Id: I7e8f942ff422ecfc34fc1a075f2a1da8876c2719
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/jenkins/ci-pipelines/ci_e2e_tests.groovy b/jenkins/ci-pipelines/ci_e2e_tests.groovy
index c65891d..3747a56 100644
--- a/jenkins/ci-pipelines/ci_e2e_tests.groovy
+++ b/jenkins/ci-pipelines/ci_e2e_tests.groovy
@@ -471,7 +471,7 @@
* def dr = new DockerRunner(this)
* stdout = dr.run(
* image : "${INTERNAL_DOCKER_REGISTRY}opensourcemano/tests:${tag}",
- * entry : "/usr/bin/osm", // optional
+ * entry : "osm", // optional
* envVars : [ "OSM_HOSTNAME=${host}" ],
* envFile : myEnv,
* mounts : [
@@ -632,7 +632,7 @@
String VIM_MGMT_NET = "osm-ext"
String OS_PROJECT_NAME = "osm_jenkins"
String OS_AUTH_URL = "http://172.21.247.1:5000/v3"
- String entrypointCmd = "/usr/bin/osm"
+ String entrypointCmd = "osm"
def tempdir = sh(returnStdout: true, script: 'mktemp -d').trim()
String environmentFile = envfile ?: "${tempdir}/env"
@@ -729,7 +729,7 @@
String VIM_TARGET = "osm"
String VIM_MGMT_NET = "osm-ext"
String K8S_CREDENTIALS = "/root/.kube/config"
- String entrypointCmd = "/usr/bin/osm"
+ String entrypointCmd = "osm"
def tempdir = sh(returnStdout: true, script: 'mktemp -d').trim()
String environmentFile = envfile ?: "${tempdir}/env"