From f05d3940fa9ea6aabc98f48107833c7eaec2c446 Mon Sep 17 00:00:00 2001 From: Marcin-Ramotowski Date: Fri, 4 Jul 2025 23:35:51 +0200 Subject: [PATCH] Modified git repo url to auth --- .jenkins/Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index 811de2c..ca4ad55 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -70,7 +70,10 @@ pipeline { ''' sh 'git commit -am "JENKINS: Changed deployed version to $GIT_COMMIT"' sshagent(['gitea-deploy-key']) { - sh 'git push' + sh ''' + git remote set-url ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git + git push + ''' } } }