X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Ftemplate%2Fstart_build;h=43ef161088fff5e7d78d09ada234a4baffa4cd1b;hb=85dc239b834cfe437455d0bb815c667ca905edc6;hp=38f35b5bd3d64c5a0027b216d723783361be3546;hpb=19215383cc752f3693e0a6ed6633a3f9951d4a21;p=osm%2Fdevops.git diff --git a/jenkins/template/start_build b/jenkins/template/start_build index 38f35b5b..43ef1610 100755 --- a/jenkins/template/start_build +++ b/jenkins/template/start_build @@ -25,23 +25,16 @@ OSM_JENKINS=$(dirname $HERE) # SET YOU MDG repository name here export OSM_MDG=XXXX 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" - ### for start_build ### put your commands here to ### build, test and produce coverage reports +# E.G. +#make clean || FATAL "make clean failed" +#make || FATAL "make failed" +#sudo make install || FATAL "make install failed" RC=0