main to master
This commit is contained in:
1 parent
f66da85918
commit
9113b1f3e3
1 file changed
+4
-1
@@ -19,7 +19,10 @@ pipeline {
|
|||||||
stage('Push to Gitea') {
|
stage('Push to Gitea') {
|
||||||
steps {
|
steps {
|
||||||
git credentialsId: 'my-gitea-credentials', url: "${env.GITEA_REPO}"
|
git credentialsId: 'my-gitea-credentials', url: "${env.GITEA_REPO}"
|
||||||
sh 'git push origin main'
|
sh '''
|
||||||
|
git checkout -b master
|
||||||
|
git push origin master
|
||||||
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Push to Docker Hub') {
|
stage('Push to Docker Hub') {
|
||||||
|
|||||||
Reference in new issue
Block a user