xxx
infra/dch-autoprovision/pipeline/head This commit looks good
Details
infra/dch-autoprovision/pipeline/head This commit looks good
Details
parent
c88b4c42e8
commit
4e78c48fbf
|
@ -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