diff --git a/theforeman.org/pipelines/release/pipelines/candlepin.groovy b/theforeman.org/pipelines/release/pipelines/candlepin.groovy index 6c592c99..63cdc9ac 100644 --- a/theforeman.org/pipelines/release/pipelines/candlepin.groovy +++ b/theforeman.org/pipelines/release/pipelines/candlepin.groovy @@ -10,7 +10,10 @@ pipeline { environment { PROJECT = 'candlepin' - VERSION = candlepin_version + } + + script { + env.VERSION = candlepin_version } stages { diff --git a/theforeman.org/pipelines/release/pipelines/client.groovy b/theforeman.org/pipelines/release/pipelines/client.groovy index e03dbbc1..eef7e5bb 100644 --- a/theforeman.org/pipelines/release/pipelines/client.groovy +++ b/theforeman.org/pipelines/release/pipelines/client.groovy @@ -10,7 +10,10 @@ pipeline { environment { PROJECT = 'client' - VERSION = foreman_version + } + + script { + env.VERSION = foreman_version } stages { diff --git a/theforeman.org/pipelines/release/pipelines/foreman-rpm.groovy b/theforeman.org/pipelines/release/pipelines/foreman-rpm.groovy index aa76df0d..bfd695ad 100644 --- a/theforeman.org/pipelines/release/pipelines/foreman-rpm.groovy +++ b/theforeman.org/pipelines/release/pipelines/foreman-rpm.groovy @@ -10,7 +10,10 @@ pipeline { environment { PROJECT = 'foreman' - VERSION = foreman_version + } + + script { + env.VERSION = foreman_version } stages { diff --git a/theforeman.org/pipelines/release/pipelines/katello.groovy b/theforeman.org/pipelines/release/pipelines/katello.groovy index 0545cb34..abc589df 100644 --- a/theforeman.org/pipelines/release/pipelines/katello.groovy +++ b/theforeman.org/pipelines/release/pipelines/katello.groovy @@ -10,7 +10,10 @@ pipeline { environment { PROJECT = 'katello' - VERSION = katello_version + } + + script { + env.VERSION = katello_version } stages { diff --git a/theforeman.org/pipelines/release/pipelines/plugins.groovy b/theforeman.org/pipelines/release/pipelines/plugins.groovy index 11cf06a7..3704fb10 100644 --- a/theforeman.org/pipelines/release/pipelines/plugins.groovy +++ b/theforeman.org/pipelines/release/pipelines/plugins.groovy @@ -10,7 +10,10 @@ pipeline { environment { PROJECT = 'plugins' - VERSION = foreman_version + } + + script { + env.VERSION = foreman_version } stages { diff --git a/theforeman.org/pipelines/release/pipelines/pulpcore.groovy b/theforeman.org/pipelines/release/pipelines/pulpcore.groovy index 9eae7f81..7a169070 100644 --- a/theforeman.org/pipelines/release/pipelines/pulpcore.groovy +++ b/theforeman.org/pipelines/release/pipelines/pulpcore.groovy @@ -10,7 +10,10 @@ pipeline { environment { PROJECT = 'pulpcore' - VERSION = pulpcore_version + } + + script { + env.VERSION = pulpcore_version } stages {