Hi@steveluo,
Yes, I'm running version V12.0.14.
I assumed, if the failure condition is set to return false, it should always pass. Isn't this the case?
And yes, the build does not pass the quality gate, however, to see the result in Quickbuild, I thought I just return false for the failure condition as the description states:
True means step is failed, false means step is successful
BTW: I also tried true, without any change.
18:49:41,288 INFO - INFO: ------------- Check Quality Gate status
18:49:41,288 INFO - INFO: Waiting for the analysis report to be processed (max 600s)
18:53:37,265 INFO - INFO: ------------------------------------------------------------------------
18:53:37,265 INFO - INFO: EXECUTION FAILURE
18:53:37,265 INFO - INFO: ------------------------------------------------------------------------
18:53:37,265 INFO - INFO: Total time: 9:27.008s
18:53:37,363 INFO - INFO: Final Memory: 97M/334M
18:53:37,363 INFO - INFO: ------------------------------------------------------------------------
18:53:37,364 ERROR - ERROR: Error during SonarScanner execution
18:53:37,364 ERROR - ERROR: QUALITY GATE STATUS: FAILED - View details on http://xxxx:9000/dashboard?id=GPR3-APP
My intention was to always pass the step (as SonarQube successfully analyzed), and have the result presented as described in:

Was this a wrong assumption?
Also, what is wrong with this case?
18:40:26,047 INFO - 18:40:26.047 INFO: Waiting for the analysis report to be processed (max 600s)
18:40:26,058 INFO - 18:40:26.058 DEBUG: GET 200 http://xxxx:9000/api/ce/task?id=ABCDEFGHIJKLMNOPQRST | time=11ms
18:40:31,083 INFO - 18:40:31.083 DEBUG: GET 200 http://xxxx:9000/api/ce/task?id=ABCDEFGHIJKLMNOPQRST | time=12ms
18:40:36,105 INFO - 18:40:36.105 DEBUG: GET 200 http://xxxx:9000/api/ce/task?id=ABCDEFGHIJKLMNOPQRST | time=10ms
18:40:41,121 INFO - 18:40:41.121 DEBUG: GET 200 http://xxxx:9000/api/ce/task?id=ABCDEFGHIJKLMNOPQRST | time=9ms
18:40:46,145 INFO - 18:40:46.145 DEBUG: GET 200 http://xxxx:9000/api/ce/task?id=ABCDEFGHIJKLMNOPQRST | time=10ms
18:40:51,184 INFO - 18:40:51.184 DEBUG: GET 200 http://xxxx:9000/api/ce/task?id=ABCDEFGHIJKLMNOPQRST | time=28ms
18:40:51,195 INFO - 18:40:51.195 DEBUG: GET 200 http://xxxx:9000/api/qualitygates/project_status?analysisId=ABCDEFG-_ZX82 | time=10ms
18:40:51,204 INFO - 18:40:51.204 INFO: QUALITY GATE STATUS: PASSED - View details on http://xxxx:9000/dashboard?id=HAL-FwLoaders
18:40:51,208 INFO - 18:40:51.208 DEBUG: Post-jobs :
18:40:51,279 INFO - 18:40:51.279 INFO: Analysis total time: 3:39.892 s
18:40:51,285 INFO - 18:40:51.285 INFO: ------------------------------------------------------------------------
18:40:51,285 INFO - 18:40:51.285 INFO: EXECUTION SUCCESS
18:40:51,285 INFO - 18:40:51.285 INFO: ------------------------------------------------------------------------
18:40:51,285 INFO - 18:40:51.285 INFO: Total time: 3:41.921s
18:40:51,373 INFO - 18:40:51.373 INFO: Final Memory: 40M/137M
18:40:51,373 INFO - 18:40:51.373 INFO: ------------------------------------------------------------------------
18:40:51,940 INFO - Waiting for Sonar Quality Gate ...
18:40:51,940 INFO - Trying to load sonar conditions report from server ...
18:41:01,951 INFO - Trying to load sonar conditions report from server ...
18:41:21,960 INFO - Trying to load sonar conditions report from server ...
18:41:51,972 INFO - Trying to load sonar conditions report from server ...
18:42:31,982 INFO - Trying to load sonar conditions report from server ...
18:43:21,995 INFO - Trying to load sonar conditions report from server ...
18:44:22,005 INFO - Trying to load sonar conditions report from server ...
18:45:32,014 INFO - Trying to load sonar conditions report from server ...
18:46:52,024 INFO - Trying to load sonar conditions report from server ...
18:48:22,034 INFO - Trying to load sonar conditions report from server ...
18:48:22,043 INFO - Executing post-execute action...
18:48:22,043 ERROR - Step 'master>Builds for SonarCube?VSVersion=2019>SonarCube Parallel>SonarCube?SonarOutput=E:\DailyBuild\SER_SONARQUBE\sonar-HAL-FwLoaders>Build SonarCube' is failed: Wait for Quality Gate failed.