OP.793 redo the flow
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -34,7 +34,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('build and push image to gitlab') {
|
||||
stage('build and push image to gitlab') {
|
||||
steps {
|
||||
withCredentials([usernamePassword(credentialsId: 'jenkins-gitlab-registry-token-2026', passwordVariable: 'pw', usernameVariable: 'un')]) {
|
||||
sh '''
|
||||
@@ -64,6 +64,7 @@ stage('build and push image to gitlab') {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('update repo') {
|
||||
steps {
|
||||
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {
|
||||
@@ -76,6 +77,7 @@ stage('build and push image to gitlab') {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Mirror to Gitea') {
|
||||
steps {
|
||||
withCredentials([usernamePassword(
|
||||
|
||||
Reference in New Issue
Block a user