From: garciadeblas Date: Wed, 15 Mar 2017 09:23:03 +0000 (+0100) Subject: Change in git_functions to fetch instead of pull X-Git-Tag: v1.1.1~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F01%2F1301%2F2;p=osm%2Fdevops.git Change in git_functions to fetch instead of pull Change-Id: Ibf0c0ad9b5a3e9dec93da2392ea3643cfe21fe21 Signed-off-by: garciadeblas --- diff --git a/jenkins/common/git_functions b/jenkins/common/git_functions index afd0962b..e5b79845 100644 --- a/jenkins/common/git_functions +++ b/jenkins/common/git_functions @@ -12,7 +12,7 @@ OSM_git_checkout() { if [ -d $OSM_MDG ]; then INFO "reusing existing workspace" cd $OSM_MDG - GIT pull --all + GIT fetch --all --tags #git checkout master #to make sure that we are in the right branch before pulling the code #git pull else