xxx
infra/dch-autoprovision/pipeline/head There was a failure building this commit
Details
infra/dch-autoprovision/pipeline/head There was a failure building this commit
Details
parent
3a1c3d20fd
commit
909cc5bc7e
|
@ -43,7 +43,7 @@ pipeline {
|
|||
steps {
|
||||
sh '. ci/build.sh'
|
||||
script {
|
||||
if (env.BRANCH_NAME == 'master') {
|
||||
if (env.BRANCH_NAME == 'dev/ci') {
|
||||
withCredentials([
|
||||
file(
|
||||
credentialsId: 'rpm-gpg-key',
|
||||
|
@ -68,7 +68,7 @@ pipeline {
|
|||
|
||||
stage('Publish') {
|
||||
when {
|
||||
branch 'master'
|
||||
branch 'dev/ci'
|
||||
}
|
||||
steps {
|
||||
sshagent(['jenkins-repohost']) {
|
||||
|
|
|
@ -26,5 +26,6 @@ rsync -rtiO \
|
|||
--chmod=ugo=rwX \
|
||||
--include "${include}" \
|
||||
--exclude '*' \
|
||||
--dry-run \
|
||||
./ \
|
||||
"${REPO_HOST}:${REPO_PATH}/"
|
||||
|
|
Loading…
Reference in New Issue