Change in git_functions to fetch instead of pull 01/1301/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 15 Mar 2017 09:23:03 +0000 (10:23 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Sun, 2 Apr 2017 01:39:11 +0000 (02:39 +0100)
Change-Id: Ibf0c0ad9b5a3e9dec93da2392ea3643cfe21fe21
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
jenkins/common/git_functions

index afd0962..e5b7984 100644 (file)
@@ -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