Browse Source

Added Jenkinsfile

pull/2/head
Richard Neumann 4 years ago
parent
commit
0dc5ef7f8b
  1. 3
      Jenkinsfile

3
Jenkinsfile

@ -22,7 +22,8 @@ pipeline {
stage('Prepare SonarQube') { stage('Prepare SonarQube') {
steps { steps {
withSonarQubeEnv(installationName: 'SonarQube', credentialsId: '4cdfb484-a052-41be-8739-3e1c232b5f38') { withSonarQubeEnv(installationName: 'SonarQube', credentialsId: '4cdfb484-a052-41be-8739-3e1c232b5f38') {
sh '/opt/sonar-scanner/bin/sonar-scanner' sh '/opt/sonar-scanner/bin/sonar-scanner -Dsonar.projectKey=rcon'
waitForQualityGate(credentialsId: '4cdfb484-a052-41be-8739-3e1c232b5f38')
} }
} }

Loading…
Cancel
Save