Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(release): tidy up pipeline code and avoid semantic-release assumi…
Browse files Browse the repository at this point in the history
…ng a CD pipeline is debug
  • Loading branch information
rawlingsj authored and joshuawilson committed Mar 23, 2017
1 parent eafa0d5 commit 02e72e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -17,7 +16,7 @@ fabric8UITemplate{
}
} else if (utils.isCD()){
def branch
container('clients'){
container('ui'){
branch = utils.getBranch()
}

Expand All @@ -27,7 +26,7 @@ fabric8UITemplate{
}

def releaseVersion
container('clients'){
container('ui'){
releaseVersion = utils.getLatestVersionFromTag()
}

Expand All @@ -36,6 +35,5 @@ fabric8UITemplate{
}
}
}
}
}

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
},
"release": {
"branch": "master",
"debug": false,
"verifyConditions": {
"path": "./node_modules/@krux/condition-jenkins"
}
Expand Down

0 comments on commit 02e72e6

Please sign in to comment.