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 {
|
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']) {
|
||||||
|
|
|
@ -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}/"
|
||||||
|
|
Loading…
Reference in New Issue