Skip to content

Commit

Permalink
Added Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
entrydev committed Jul 13, 2018
1 parent 4d591cf commit ef60506
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ pipeline {
stages {
stage('SonarQube analysis') {
steps {
sh 'yarn'
script {
def scannerHome = tool 'SonarQube Scanner 2.8';
withSonarQubeEnv('sonar') {
sh "${scannerHome}/bin/sonar-scanner"
}
}

}
}
}
Expand Down

0 comments on commit ef60506

Please sign in to comment.