diff --git a/theforeman.org/pipelines/release/pipelines/client.groovy b/theforeman.org/pipelines/release/pipelines/client.groovy index bfa95cbe..7bf065a9 100644 --- a/theforeman.org/pipelines/release/pipelines/client.groovy +++ b/theforeman.org/pipelines/release/pipelines/client.groovy @@ -64,6 +64,9 @@ pipeline { } stages { stage('staging-build-repository') { + when { + expression { foreman_version == 'nightly' } + } steps { git url: "https://github.com/theforeman/theforeman-rel-eng", poll: false @@ -75,6 +78,9 @@ pipeline { } } stage('staging-copy-repository') { + when { + expression { foreman_version == 'nightly' } + } steps { script { dir('tmp') { diff --git a/theforeman.org/pipelines/release/pipelines/foreman-rpm.groovy b/theforeman.org/pipelines/release/pipelines/foreman-rpm.groovy index bf9a4237..da00f6fe 100644 --- a/theforeman.org/pipelines/release/pipelines/foreman-rpm.groovy +++ b/theforeman.org/pipelines/release/pipelines/foreman-rpm.groovy @@ -63,6 +63,9 @@ pipeline { } stages { stage('staging-build-repository') { + when { + expression { foreman_version == 'nightly' } + } steps { git url: "https://github.com/theforeman/theforeman-rel-eng", poll: false @@ -74,6 +77,9 @@ pipeline { } } stage('staging-copy-repository') { + when { + expression { foreman_version == 'nightly' } + } steps { script { dir('tmp') { diff --git a/theforeman.org/pipelines/release/pipelines/katello.groovy b/theforeman.org/pipelines/release/pipelines/katello.groovy index 99a37f22..fb54a18f 100644 --- a/theforeman.org/pipelines/release/pipelines/katello.groovy +++ b/theforeman.org/pipelines/release/pipelines/katello.groovy @@ -64,6 +64,9 @@ pipeline { } stages { stage('staging-build-repository') { + when { + expression { katello_version == 'nightly' } + } steps { git url: "https://github.com/theforeman/theforeman-rel-eng", poll: false @@ -75,6 +78,9 @@ pipeline { } } stage('staging-copy-repository') { + when { + expression { katello_version == 'nightly' } + } steps { script { dir('tmp') { diff --git a/theforeman.org/pipelines/release/pipelines/pulpcore.groovy b/theforeman.org/pipelines/release/pipelines/pulpcore.groovy index eeb7b7cf..fc1ccdd6 100644 --- a/theforeman.org/pipelines/release/pipelines/pulpcore.groovy +++ b/theforeman.org/pipelines/release/pipelines/pulpcore.groovy @@ -75,6 +75,9 @@ pipeline { } stages { stage('staging-build-repository') { + when { + expression { pulpcore_version == 'nightly' } + } steps { git url: "https://github.com/theforeman/theforeman-rel-eng", poll: false @@ -86,6 +89,9 @@ pipeline { } } stage('staging-copy-repository') { + when { + expression { pulpcore_version == 'nightly' } + } steps { script { dir('tmp') {