xxx
infra/dch-autoprovision/pipeline/head This commit looks good Details

Dustin 2025-08-14 08:18:26 -05:00
parent c88b4c42e8
commit 4e78c48fbf
2 changed files with 3 additions and 2 deletions

4
ci/Jenkinsfile vendored
View File

@ -43,7 +43,7 @@ pipeline {
steps { steps {
sh '. ci/build.sh' sh '. ci/build.sh'
script { script {
if (env.BRANCH_NAME == 'master') { if (env.BRANCH_NAME == 'dev/ci') {
withCredentials([ withCredentials([
file( file(
credentialsId: 'rpm-gpg-key', credentialsId: 'rpm-gpg-key',
@ -68,7 +68,7 @@ pipeline {
stage('Publish') { stage('Publish') {
when { when {
branch 'master' branch 'dev/ci'
} }
steps { steps {
sshagent(['jenkins-repohost']) { sshagent(['jenkins-repohost']) {

View File

@ -26,5 +26,6 @@ rsync -rtiO \
--chmod=ugo=rwX \ --chmod=ugo=rwX \
--include "${include}" \ --include "${include}" \
--exclude '*' \ --exclude '*' \
--dry-run \
./ \ ./ \
"${REPO_HOST}:${REPO_PATH}/" "${REPO_HOST}:${REPO_PATH}/"