mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 08:06:09 +01:00
Fix push to SCM-Manager in CES
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -166,11 +166,11 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
// push changes back to remote repository
|
// push changes back to remote repository
|
||||||
if (isReleaseBuild()) {
|
if (isReleaseBuild()) {
|
||||||
authGit 'cesmarvin', 'push origin main--tags'
|
authGit 'SCM-Manager', 'push origin main--tags'
|
||||||
} else {
|
} else {
|
||||||
authGit 'cesmarvin', "push origin ${env.BRANCH_NAME} --tags"
|
authGit 'SCM-Manager', "push origin ${env.BRANCH_NAME} --tags"
|
||||||
}
|
}
|
||||||
authGit 'cesmarvin', 'push origin --tags'
|
authGit 'SCM-Manager', 'push origin --tags'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -189,7 +189,7 @@ pipeline {
|
|||||||
|
|
||||||
sh "git add gradle.properties '**.json'"
|
sh "git add gradle.properties '**.json'"
|
||||||
commit 'Prepare for next development iteration'
|
commit 'Prepare for next development iteration'
|
||||||
authGit 'cesmarvin', 'push origin develop'
|
authGit 'SCM-Manager', 'push origin develop'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -199,7 +199,7 @@ pipeline {
|
|||||||
expression { return isBuildSuccess() }
|
expression { return isBuildSuccess() }
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
authGit 'cesmarvin', "push origin :${env.BRANCH_NAME}"
|
authGit 'SCM-Manager', "push origin :${env.BRANCH_NAME}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user