No previous SonarQube analysis found on this pipeline execution. Please use the 'withSonarQubeEnv' wrapper to run your analysis

Hello Alexis,
from your post I understand you have fixed your issue with the analysis credentials for which you opened this earlier thread?
If indeed the case, do not hesitate to post a feedback there about how you fixed it.

Now about your quality gate status retrieval in your pipeline:

  • are you on the last SonarQube plugin version for Jenkins (2.11)?
  • did you set your Jenkins target URL with the final ‘/’ (I guess you have but let’s check all angles)
  • did you configure a secret in your Jenkins plugin, secret your pipeline would check for payload validity as described with the Configure a webhook secret section here.

Best regards
Sylvain