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