Compare commits
2 Commits
4e78c48fbf
...
8cf97f2878
Author | SHA1 | Date |
---|---|---|
|
8cf97f2878 | |
|
73d1ddfbed |
|
@ -68,7 +68,7 @@ pipeline {
|
||||||
|
|
||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
when {
|
when {
|
||||||
branch 'dev/ci'
|
branch 'master'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sshagent(['jenkins-repohost']) {
|
sshagent(['jenkins-repohost']) {
|
||||||
|
|
|
@ -7,11 +7,6 @@ REPO_PATH=/srv/www/repohost/repos/dch/fedora/$(rpm --eval %fedora)
|
||||||
ssh-add -l
|
ssh-add -l
|
||||||
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
|
case "${ARCH}" in
|
||||||
x86_64)
|
x86_64)
|
||||||
# only include the SRPM once
|
# only include the SRPM once
|
||||||
|
@ -26,6 +21,5 @@ rsync -rtiO \
|
||||||
--chmod=ugo=rwX \
|
--chmod=ugo=rwX \
|
||||||
--include "${include}" \
|
--include "${include}" \
|
||||||
--exclude '*' \
|
--exclude '*' \
|
||||||
--dry-run \
|
|
||||||
./ \
|
./ \
|
||||||
"${REPO_HOST}:${REPO_PATH}/"
|
"${REPO_HOST}:${REPO_PATH}/"
|
||||||
|
|
Loading…
Reference in New Issue