diff --git a/deploy-this/update-from-git.jenkinsfile b/deploy-this/update-from-git.jenkinsfile index 815be6f..e79d8e6 100755 --- a/deploy-this/update-from-git.jenkinsfile +++ b/deploy-this/update-from-git.jenkinsfile @@ -1,6 +1,6 @@ def projects = [ - "proxy-nginx", - "arti24" + "arti24", + "proxy-nginx" ] def git_take( projects ){ @@ -11,13 +11,13 @@ def git_take( projects ){ sh("git log -n 1") }else{ for( project in projects ){ - def git_take ="git " + def git_take ="git " if( fileExists( project ) ){ dir( project ){ git_reset = git_take +" reset --hard " sh( git_reset ) } - git_take = git_take +"pull"; + git_take = git_take +"pull" }else{ git_take = git_take +"clone "+ "https://git.arti24.eu/gitea/"+project+".git" }