diff --git a/Jenkinsfile-1 b/Jenkinsfile-1 index 4edf935f..64034c5b 100644 --- a/Jenkinsfile-1 +++ b/Jenkinsfile-1 @@ -1,15 +1,15 @@ pipeline { - agent { label 'linux' } + agent any options { buildDiscarder(logRotator(numToKeepStr: '5')) } stages { stage('Scan') { steps { - withSonarQubeEnv(installationName: 'sq1') { + withSonarQubeEnv(installationName: 'Sonar') { sh './mvnw clean org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.0.2155:sonar' } } } } -} \ No newline at end of file +}