File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,10 +74,12 @@ orchestrate_sonar_platforms() {
7474 done
7575 echo " === ORCHESTRATOR: Completed Sonar analysis on all platforms ==="
7676 else
77+ echo " ::group::Sonar analysis on $SONAR_PLATFORM "
7778 echo " === ORCHESTRATOR: Running Sonar analysis on selected platform: $SONAR_PLATFORM ==="
7879 set_sonar_platform_vars " $SONAR_PLATFORM "
7980 # CALLBACK: Hand control back to build script's implementation
8081 sonar_scanner_implementation " $@ "
82+ echo " ::endgroup::"
8183 fi
8284}
8385
Original file line number Diff line number Diff line change @@ -238,10 +238,12 @@ Describe 'orchestrate_sonar_platforms()'
238238 export SONAR_PLATFORM=" next"
239239 When call orchestrate_sonar_platforms " -Dsome.property=value"
240240 The status should be success
241- The lines of stdout should equal 3
242- The line 1 should include " ORCHESTRATOR: Running Sonar analysis on selected platform: next"
243- The line 2 should include " Using Sonar platform: next"
244- The line 3 should include " sonar_scanner_implementation -Dsome.property=value"
241+ The lines of stdout should equal 5
242+ The line 1 should equal " ::group::Sonar analysis on next"
243+ The line 2 should include " ORCHESTRATOR: Running Sonar analysis on selected platform: next"
244+ The line 3 should include " Using Sonar platform: next"
245+ The line 4 should include " sonar_scanner_implementation -Dsome.property=value"
246+ The line 5 should equal " ::endgroup::"
245247 End
246248
247249 It ' runs analysis on all platforms when shadow scans enabled'
You can’t perform that action at this time.
0 commit comments