X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fhost%2Finstall;h=dfdbe5969bdd24429607125213d9c343d62b711e;hb=9f61130b63ff91366f663a8779b0a3f455ad32a9;hp=ade30fb978b5fd67fc24261effc4a347c6b023ca;hpb=a1fc4570e6196978b0de679c5e659748ba407e6d;p=osm%2Fdevops.git diff --git a/jenkins/host/install b/jenkins/host/install index ade30fb9..dfdbe596 100755 --- a/jenkins/host/install +++ b/jenkins/host/install @@ -32,13 +32,13 @@ if ! container_exists $OSM_BUILD_CONTAINER; then [[ "$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