diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 4683d30..f67e3b9 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -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']) { diff --git a/ci/publish.sh b/ci/publish.sh index 31cb2bd..16ac2a2 100644 --- a/ci/publish.sh +++ b/ci/publish.sh @@ -26,5 +26,6 @@ rsync -rtiO \ --chmod=ugo=rwX \ --include "${include}" \ --exclude '*' \ + --dry-run \ ./ \ "${REPO_HOST}:${REPO_PATH}/"