Can I get the result of the sonarqube payload in the Jenkins console?

Hi,

We have a pipeline Git-Sonarqube-Quality Gate in Jenkins. When they finish, Jenkins sends an email with ‘Ok’ or ‘Error’ in every step. Can I get the full payload from webhook (Sonarqube) after quality gate’s stage in Jenkins? How can i see full payload in the output console?

Thank you

Anna

Hi Anna,

you have to setup a logger in Jenkins like that =

The log has the full payload.
If you need to show it in Jenkins pipeline console log also you may parse those logs,
see $JENKINS_HOME/logs/custom/SonarQube.log with log rotation.
As the payload in the log has the analysisid you should be able get the right one.

Gilbert