diff --git a/Jenkinsfile-1 b/Jenkinsfile-1 new file mode 100644 index 000000000..dcd3d196f --- /dev/null +++ b/Jenkinsfile-1 @@ -0,0 +1,15 @@ +pipeline { + agent any + stages { + stage('SonarQube analysis') { + steps { + script { + scannerHome = tool 'SonarQubeScanner'; + } + withSonarQubeEnv('My SonarQube Server') { + sh "${scannerHome}/bin/sonar-scanner" + } + } + } + } +}