Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Update jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
abdul-fs committed Sep 8, 2020
1 parent 65776e4 commit 46e0c1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ stage('run-sonarqube'){
'''
def scannerhome = tool 'SonarQubeScanner';
withSonarQubeEnv('SonarQube') {
sh label: '', script: '''/home/Jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQubeScanner/bin/sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dsonar.projectKey=$SONAR_PROJECT_NAME -Dsonar.sources=. -Dsonar.branch.name=$GIT_BRANCH -Dsonar.exclusions=frontend/node_modules/**,frontend/dist/**,frontend/e2e/**,,server/node_modules/**,server/docs/**,server/frontend-assets/**,server/dba/**,server/test/**,docs/**'''
sh label: '', script: '''/home/Jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQubeScanner/bin/sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dsonar.projectKey=$SONAR_PROJECT_NAME -Dsonar.sources=. -Dsonar.branch.name=$GIT_BRANCH -Dsonar.exclusions=frontend/node_modules/**,frontend/dist/**,frontend/e2e/**,server/node_modules/**,server/docs/**,server/frontend-assets/**,server/dba/**,server/test/**,docs/**'''
//sh 'rm -rf sonarqubereports'
//sh 'mkdir sonarqubereports'
//sh 'sleep 30'
Expand Down Expand Up @@ -289,7 +289,7 @@ docker.image('circleci/node:8.15.1-browsers').withRun() {
npm config rm proxy
npm config rm https-proxy
npm config set registry http://registry.npmjs.org/
npm config set registry https://registry.npmjs.org/
npm config set strict-ssl false
npm i -D webdriver-manager
rm -rf node_modules
Expand Down

0 comments on commit 46e0c1d

Please sign in to comment.