Removing second _programs_

This commit is contained in:
Artur 2024-10-06 18:14:36 +02:00
parent ea855587d3
commit c5fd1bb2a2
1 changed files with 10 additions and 14 deletions

View File

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