Removing second _programs_
This commit is contained in:
parent
ea855587d3
commit
c5fd1bb2a2
|
|
@ -11,20 +11,16 @@ def git_take( projects ){
|
|||
sh( git_pull )
|
||||
sh("git log -n 1")
|
||||
}else{
|
||||
dir("_programs_"){
|
||||
for( project in projects ){
|
||||
def git_take ="git -c http.sslVerify=false "
|
||||
if( fileExists( project ) ){
|
||||
git_take = git_take +"-C "+project+" pull"
|
||||
}else{
|
||||
git_take = git_take +"clone "+ "https://artikus.dynu.net:7990/r/"+project+".git"
|
||||
}
|
||||
sh( git_take )
|
||||
sh("git log -n 1")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for( project in projects ){
|
||||
def git_take ="git -c http.sslVerify=false "
|
||||
if( fileExists( project ) ){
|
||||
git_take = git_take +"-C "+project+" pull"
|
||||
}else{
|
||||
git_take = git_take +"clone "+ "https://artikus.dynu.net:7990/r/"+project+".git"
|
||||
}
|
||||
sh( git_take )
|
||||
sh("git log -n 1")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue