Modified git repo url to auth

This commit is contained in:
Marcin-Ramotowski
2025-07-04 23:35:51 +02:00
parent 023daf1d4b
commit f05d3940fa

View File

@ -70,7 +70,10 @@ 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 'git push' sh '''
git remote set-url ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
git push
'''
} }
} }
} }