Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Fix releasing stable in CD.
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Minaev <sergey.minaev@dsr-company.com>
  • Loading branch information
jovfer committed Jun 28, 2018
1 parent 16c637c commit 5c1d205
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile.cd
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def publishingRCtoStable() {
publishLibindyCliWindowsFilesRCtoStable(libindyVersion)

echo 'Moving Windows RC artifacts to Stable: libnullpay'
publishLibnullpayWindowsFilesRCtoStable(libindyVersion)
publishLibnullpayWindowsFilesRCtoStable()

echo 'Moving Ubuntu RC artifacts to Stable: libnullpay'
publishLibnullpayDebRCtoStable(testEnv)
Expand Down Expand Up @@ -676,7 +676,7 @@ def publishLibindyCliDebRCtoStable(testEnv, version) {

def publishLibnullpayDebRCtoStable(testEnv) {
def libnullpayVersion = getSrcVersion("libnullpay")
publishDebRCtoStable(testEnv, "libnullpay", "libnullpay", libnullpayVersion, "libindyCliDebs", false)
publishDebRCtoStable(testEnv, "libnullpay", "libnullpay", libnullpayVersion, "libnullpayDebs", false)
}

def publishDebRCtoStable(testEnv, packageName, folder, version, stashName, moveDevArtifacts) {
Expand All @@ -685,7 +685,7 @@ def publishDebRCtoStable(testEnv, packageName, folder, version, stashName, moveD

unstash name: stashName

sh "fakeroot deb-reversion -v $version $packageName/debs/\"$packageName\"_\"$rcFullVersion\"_amd64.deb"
sh "fakeroot deb-reversion -v $version $folder/debs/\"$packageName\"_\"$rcFullVersion\"_amd64.deb"

if (moveDevArtifacts) {
sh "fakeroot deb-reversion -v $version $folder/debs/\"$packageName\"-dev_\"$rcFullVersion\"_amd64.deb"
Expand Down

0 comments on commit 5c1d205

Please sign in to comment.