Corrected git remote command
This commit is contained in:
2
.jenkins/Jenkinsfile
vendored
2
.jenkins/Jenkinsfile
vendored
@ -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
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user