Update from git
This commit is contained in:
parent
9088ec44d1
commit
b282d8647f
|
|
@ -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")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue