main to master
This commit is contained in:
@@ -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