Hi, community
Have some problems with the response from SonarQube
I’d appreciate your help
log: [INFO] ANALYSIS SUCCESSFUL, BUILD SUCCESS
Timeout set to expire in 1 hr 0 min
Checking status of SonarQube task 'AYnJtEcFz28MpCYxQWEj' on server 'Sonar-Server-10.1'
Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: dd4f5135-6229-4caa-ba3a-dfd9b0fbaacb org.sonarqube.ws.client.HttpException: Error 404 on http://localhost:9000/api/ce/task?id=AYnJtEcFz28MpCYxQWEj : {"errors":[{"msg":"No activity found for task \u0027AYnJtEcFz28MpCYxQWEj\u0027"}]}
Src:
steps {
dir('Module') {
withSonarQubeEnv('Sonar-Server-10.1'){
bat 'mvn clean install sonar:sonar -B -f service/pom.xml -Dsonar.password=admin -Dsonar.login=admin'
}
timeout(time: 1, unit: 'HOURS') {
waitForQualityGate abortPipeline: false, credentialsId: 'SONAR_TOKEN'
}
}
}
}