Browse Source

adjusted jenkinsfile

xiaoct 7 years ago
parent
commit
3d195f6f81
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Jenkinsfile

+ 6 - 0
Jenkinsfile

@@ -7,6 +7,12 @@ pipeline {
         }
     }
     stages {
+        stage('SonarQube Analysis') {
+            steps {
+                sh 'sonar-scanner'
+            }
+        }
+
         stage('Build'){
             steps {
                 sh 'npm install'