From f0a4f9ef37ce4c28791e5c9be248dc8b58c7e67b Mon Sep 17 00:00:00 2001 From: Mahesh Parasnis Date: Mon, 8 May 2023 16:19:41 -0400 Subject: [PATCH] pull code from Github before push --- Jenkinsfile-release | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile-release b/Jenkinsfile-release index 7ececee..12cb450 100644 --- a/Jenkinsfile-release +++ b/Jenkinsfile-release @@ -95,7 +95,8 @@ pipeline { sh "git push downstream ${RELEASE_VERSION}" // Push the branch to downstream remote - sh "git push downstream ${BRANCH}" + sh "git pull downstream ${BRANCH}" + //sh "git push downstream ${BRANCH}" } } }