Bug fixed about container creation with parameters. Minor typos fixed: tab vs space
Change-Id: I64237e6840b10c134a8376de92fd04a882f204da
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/jenkins/host/start_build b/jenkins/host/start_build
index 41ea068..45d495f 100755
--- a/jenkins/host/start_build
+++ b/jenkins/host/start_build
@@ -42,17 +42,17 @@
else
container_exec $OSM_BUILD_CONTAINER apt -y install git realpath make sudo
fi
- if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
- container_push_devops $OSM_BUILD_CONTAINER
- else
- container_exec $OSM_BUILD_CONTAINER git clone ${OSM_GIT_URL}/devops
- fi
+ if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
+ container_push_devops $OSM_BUILD_CONTAINER
+ else
+ container_exec $OSM_BUILD_CONTAINER git clone ${OSM_GIT_URL}/devops
+ fi
else
- if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
- container_push_devops $OSM_BUILD_CONTAINER
- else
- container_exec $OSM_BUILD_CONTAINER git -C devops pull
- fi
+ if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
+ container_push_devops $OSM_BUILD_CONTAINER
+ else
+ container_exec $OSM_BUILD_CONTAINER git -C devops pull
+ fi
fi
container_exec $OSM_BUILD_CONTAINER ./devops/jenkins/$OSM_MDG/start_build $*