Skip to content

Commit f2d2080

Browse files
Update Jenkinsfile
1 parent ee472ba commit f2d2080

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
node(){
22

3-
def sonarHome = tool name: 'SonarScanner', type: 'hudson.plugins.sonar.SonarRunnerInstallation'
3+
//def sonarHome = tool name: 'SonarScanner', type: 'hudson.plugins.sonar.SonarRunnerInstallation'
44

55
stage('Code Checkout'){
66
checkout changelog: false, poll: false, scm: scmGit(branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'GitHubCreds', url: 'https://github.com/anujdevopslearn/MavenBuild']])
@@ -15,9 +15,9 @@ node(){
1515
}
1616

1717
stage('Code Scan'){
18-
withSonarQubeEnv(credentialsId: 'SonarQubeCreds') {
18+
/*withSonarQubeEnv(credentialsId: 'SonarQubeCreds') {
1919
sh "${sonarHome}/bin/sonar-scanner"
20-
}
20+
}*/
2121

2222
}
2323
stage('Code Coverage ') {

0 commit comments

Comments
 (0)