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

Commit

Permalink
fix(build): update Jenkins to get the right code from the repo and ad…
Browse files Browse the repository at this point in the history
…d a build check to the PR step (#67)
  • Loading branch information
joshuawilson committed Sep 23, 2017
1 parent 8cc4254 commit eea5b7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def org = 'fabric8-ui'
def repo = 'ngx-login-client'
fabric8UINode{
ws {
git "https://github.com/${org}/${repo}.git"
checkout scm
readTrusted 'release.groovy'
sh "git remote set-url origin git@github.com:${org}/${repo}.git"
def pipeline = load 'release.groovy'
Expand Down
1 change: 1 addition & 0 deletions release.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
def ci (){
stage('build'){
sh 'npm install'
sh 'npm run build'
}
stage('unit test'){
sh './run_unit_tests.sh'
Expand Down

0 comments on commit eea5b7b

Please sign in to comment.