Compare commits

..

2 Commits

Author SHA1 Message Date
Dustin 4e78c48fbf xxx
infra/dch-autoprovision/pipeline/head This commit looks good Details
2025-08-14 08:35:08 -05:00
Dustin c88b4c42e8 wip: ci: Add Jenkins build pipeline
infra/dch-autoprovision/pipeline/head This commit looks good Details
2025-08-14 08:35:08 -05:00
2 changed files with 7 additions and 1 deletions

2
ci/Jenkinsfile vendored
View File

@ -68,7 +68,7 @@ pipeline {
stage('Publish') {
when {
branch 'master'
branch 'dev/ci'
}
steps {
sshagent(['jenkins-repohost']) {

View File

@ -7,6 +7,11 @@ REPO_PATH=/srv/www/repohost/repos/dch/fedora/$(rpm --eval %fedora)
ssh-add -l
ssh-add -L
mkdir -p "${WORKSPACE_TMP}/sync"
cd "${WORKSPACE_TMP}/sync"
ln "${WORKSPACE}/f${FEDORA}"/*.rpm .
ln "${WORKSPACE}/f${FEDORA}/${ARCH}"/*.rpm .
case "${ARCH}" in
x86_64)
# only include the SRPM once
@ -21,5 +26,6 @@ rsync -rtiO \
--chmod=ugo=rwX \
--include "${include}" \
--exclude '*' \
--dry-run \
./ \
"${REPO_HOST}:${REPO_PATH}/"