Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
-
CloudBees CI (CloudBees Core) on traditional platforms - Client controller
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
-
CloudBees Jenkins Enterprise
-
CloudBees Jenkins Enterprise - Managed controller
-
CloudBees Jenkins Enterprise - Operations center
Resolution
For the job where the TEST_COUNTS
macro is showing as blank, navigate to the configuration of the job and perform the following:
-
Add a new "Post-Build Action"
-
Select an action of type "Publish JUnit test result report"
-
Ensure that you have filled out the "Test report XMLs" field correctly.
These steps are necessary because the macro relies on having the test results available to calculate it.