From 02e72e683194d97a2bbcd337d8828270a7d45fd6 Mon Sep 17 00:00:00 2001 From: rawlingsj Date: Thu, 23 Mar 2017 20:08:25 +0000 Subject: [PATCH] fix(release): tidy up pipeline code and avoid semantic-release assuming a CD pipeline is debug --- Jenkinsfile | 8 +++----- package.json | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a718c40..b2ab01d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,8 +3,7 @@ def utils = new io.fabric8.Utils() def org = 'fabric8-ui' def repo = 'ngx-fabric8-wit' -fabric8UITemplate{ - clientsNode{ +fabric8UINode{ ws { git "https://github.com/${org}/${repo}.git" readTrusted 'release.groovy' @@ -17,7 +16,7 @@ fabric8UITemplate{ } } else if (utils.isCD()){ def branch - container('clients'){ + container('ui'){ branch = utils.getBranch() } @@ -27,7 +26,7 @@ fabric8UITemplate{ } def releaseVersion - container('clients'){ + container('ui'){ releaseVersion = utils.getLatestVersionFromTag() } @@ -36,6 +35,5 @@ fabric8UITemplate{ } } } - } } diff --git a/package.json b/package.json index 36ea486..77f39f2 100644 --- a/package.json +++ b/package.json @@ -201,6 +201,7 @@ }, "release": { "branch": "master", + "debug": false, "verifyConditions": { "path": "./node_modules/@krux/condition-jenkins" }