Corrected git remote command

This commit is contained in:
Marcin-Ramotowski
2025-07-04 23:46:57 +02:00
parent f05d3940fa
commit 1de32691c6

View File

@ -71,7 +71,7 @@ pipeline {
sh 'git commit -am "JENKINS: Changed deployed version to $GIT_COMMIT"' sh 'git commit -am "JENKINS: Changed deployed version to $GIT_COMMIT"'
sshagent(['gitea-deploy-key']) { sshagent(['gitea-deploy-key']) {
sh ''' sh '''
git remote set-url ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git git remote set-url origin ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
git push git push
''' '''
} }