X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2FUI%2Fstart_build;h=50b2e06d744c7f642da60f8ea37e62ba96e22260;hb=4e6025067d0da053fccd47b532b3022d0795bed8;hp=772a3c2ee52cf282f0923b7690619ad65f0f4a07;hpb=c589cc94648320e13f826a27172b2058ac2bc539;p=osm%2Fdevops.git diff --git a/jenkins/UI/start_build b/jenkins/UI/start_build index 772a3c2e..50b2e06d 100755 --- a/jenkins/UI/start_build +++ b/jenkins/UI/start_build @@ -25,26 +25,15 @@ OSM_JENKINS=$(dirname $HERE) # SET YOU MDG repository name here export OSM_MDG=UI OSM_load_config +OSM_git_checkout "$@" -# Here is an example for how to handle an incremental build -if [ -d $OSM_MDG ]; then - INFO "reusing existing workspace" - cd $OSM_MDG - git pull -else - INFO "cloning MDG $OSM_MDG from $OSM_GIT_URL/$OSM_MDG" - git clone $OSM_GIT_URL/$OSM_MDG - cd $OSM_MDG -fi INFO "starting build" - +make clean || FATAL "Make clean failed" make -j16 || FATAL "Make failed" sudo make install || FATAL "Make install Failed" -RC=0 - -INFO "done, RC=$RC" -exit $RC +INFO "build done" +exit 0