Update from git

This commit is contained in:
Artur 2024-10-06 17:02:19 +02:00
parent 9088ec44d1
commit b282d8647f
1 changed files with 15 additions and 13 deletions

View File

@ -11,20 +11,22 @@ def git_take( projects ){
sh( git_pull ) sh( git_pull )
sh("git log -n 1") sh("git log -n 1")
}else{ }else{
for( project in projects ){ dir(".."){
def git_take ="git -c http.sslVerify=false " for( project in projects ){
if( fileExists( project ) ){ def git_take ="git -c http.sslVerify=false "
git_take = git_take +"-C "+project+" pull" if( fileExists( project ) ){
}else{ git_take = git_take +"-C "+project+" pull"
git_take = git_take +"clone "+ "https://artikus.dynu.net:7990/r/"+project+".git" }else{
} git_take = git_take +"clone "+ "https://artikus.dynu.net:7990/r/"+project+".git"
sh( git_take ) }
dir( "./" + project ){ sh( git_take )
sh("git log -n 1") dir( "./" + project ){
} sh("git log -n 1")
}
}
}
}
} }
} }