You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I face the same issue. It always falls back to this message. I found out that it happens, because all the Sonar urls in the output file (report-task.txt) produced by my SonarQube have http:// addresses instead of https://. Then sonar have HTTP to HTTPS redirection.
Curl used in the script of this GitHub Action by default is not supporting redirections. So the script basically is not getting any data. If you can add --location flag to all curl executions it would follow HTTP to HTTPS redirection.
Workaround for users might be to edit report-task.txt before using Quality Gate check action. You need to replace all the http: occurances to https:
Solution that I just used:
- name: Create report-task-https.txt with changed urls
run: sed -i s/http\:/https\:/g build/sonar/report-task.txt
Example together with SonarQube Quality Gate check:
i am keep on getting this error in al my profile , quality gateway is enabled in my profile
The text was updated successfully, but these errors were encountered: