X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fhost%2Fstart_build;h=45d495f2a052e2b60413238be48b32eaaacadcc9;hb=63dd284a321fbf65d563f5e65a419146ec7c50e5;hp=41ea06842130e17cb600f051d86bf581cf8ab8a2;hpb=ee04b4563003e33e11163adbbaa39e5c7091d82f;p=osm%2Fdevops.git diff --git a/jenkins/host/start_build b/jenkins/host/start_build index 41ea0684..45d495f2 100755 --- a/jenkins/host/start_build +++ b/jenkins/host/start_build @@ -42,17 +42,17 @@ if ! container_exists $OSM_BUILD_CONTAINER; then 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 $*