git pull in dir
This commit is contained in:
parent
d7656b2570
commit
007c2dfb0f
|
|
@ -16,12 +16,12 @@ def git_take( projects ){
|
|||
dir( project ){
|
||||
git_reset = git_take +" reset --hard "
|
||||
sh( git_reset )
|
||||
}
|
||||
git_take = git_take +"pull"
|
||||
git_take = git_take +"pull"
|
||||
sh( git_take )
|
||||
}
|
||||
}else{
|
||||
git_take = git_take +"clone "+ "https://git.arti24.eu/gitea/"+project+".git"
|
||||
}
|
||||
sh( git_take )
|
||||
dir( project ){
|
||||
sh( "git log -n 1");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue