From af199877049934bc680bae855d2a259f90d6485f Mon Sep 17 00:00:00 2001 From: Artur Date: Sun, 6 Oct 2024 18:19:29 +0200 Subject: [PATCH] dir( project ){ sh( "git log -n 1"); } --- deploy-this/update-from-git.jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deploy-this/update-from-git.jenkinsfile b/deploy-this/update-from-git.jenkinsfile index 9cb3512..f9f2d2c 100644 --- a/deploy-this/update-from-git.jenkinsfile +++ b/deploy-this/update-from-git.jenkinsfile @@ -18,7 +18,12 @@ def git_take( projects ){ }else{ git_take = git_take +"clone "+ "https://artikus.dynu.net:7990/r/"+project+".git" } - sh( git_take ) + sh( git_take ) + dir( project ){ + sh( "git log -n 1"); + } + + } }