Hi
I use sonarqube in my jenkins pipeline to analyze all my java applications
sonarscanner analyze the projects successfully and resturn result ok
but when I run analysis on multiple branches, I get this error
Checking status of SonarQube task ‘AYf_Oza01W9mx14FP_VQ’ on server ‘sonarqube-9.9’
SonarQube task ‘AYf_Oza01W9mx14FP_VQ’ status is ‘PENDING’
it waits on this stage for a long time
although I use jenkins and gitea as scm
my sonarqube is local datacenter version on a centos 7
this is my pipeline configuration after analyze was successful
"
sleep time: 30000, unit: 'MILLISECONDS'
timeout(time: 5, unit: ‘MINUTES’) {
def qg = waitForQualityGate()
if (qg.status != 'OK') {
error "Pipeline aborted due to quality gate failure: ${qg.status}"
}
}
}
"