[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] I used npm run format for formatting the code before submitting the pull request.
The enableJobSummaries() function previously attempted to retrieve the temporary directory location using the os.RUNNER_TEMP environment variable. However, on self-hosted machines, this variable may be unset. This PR introduces a fallback to the system's default temporary directory when RUNNER_TEMP is not set.
[![👍 Frogbot scanned this pull request and did not find any new security issues.](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)
[x] I used
npm run format
for formatting the code before submitting the pull request.The
enableJobSummaries()
function previously attempted to retrieve the temporary directory location using theos.RUNNER_TEMP
environment variable. However, on self-hosted machines, this variable may be unset. This PR introduces a fallback to the system's default temporary directory when RUNNER_TEMP is not set.Tests for this function have also been added.