allow repository configuration
- for system test, allow using local repository
Change-Id: I7d8882ac501c58853fb9b4a1494b54708d1d2aec
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
diff --git a/jenkins/host/install b/jenkins/host/install
index ade30fb..dfdbe59 100755
--- a/jenkins/host/install
+++ b/jenkins/host/install
@@ -32,13 +32,13 @@
[[ "$OSM_BUILD_CONTAINER_ALLOW_NESTED" == yes ]] && CONTAINER_OPTS="$CONTAINER_OPTS -c security.nesting=true"
create_container $OSM_BASE_IMAGE $OSM_BUILD_CONTAINER $CONTAINER_OPTS
wait_container_up $OSM_BUILD_CONTAINER
- if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
+ if [ ${OSM_USE_LOCAL_DEVOPS:-false} != 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
+ if [ ${OSM_USE_LOCAL_DEVOPS:-false} != false ]; then
container_push_devops $OSM_BUILD_CONTAINER
else
container_exec $OSM_BUILD_CONTAINER git -C devops pull