Skip to content

Fix Job Summary disabled on self hosted machines#194

Merged
EyalDelarea merged 3 commits intojfrog:masterfrom
EyalDelarea:fix_on_prem_summaries
Sep 2, 2024
Merged

Fix Job Summary disabled on self hosted machines#194
EyalDelarea merged 3 commits intojfrog:masterfrom
EyalDelarea:fix_on_prem_summaries

Conversation

@EyalDelarea
Copy link
Copy Markdown
Contributor

@EyalDelarea EyalDelarea commented Sep 2, 2024

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • 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.

Tests for this function have also been added.

@EyalDelarea EyalDelarea added the bug Something isn't working label Sep 2, 2024
@EyalDelarea EyalDelarea added the safe to test Approve running integration tests on a pull request label Sep 2, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Sep 2, 2024
@EyalDelarea EyalDelarea linked an issue Sep 2, 2024 that may be closed by this pull request
@EyalDelarea EyalDelarea requested a review from eyalbe4 September 2, 2024 08:22
@EyalDelarea EyalDelarea added the safe to test Approve running integration tests on a pull request label Sep 2, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Sep 2, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 2, 2024

👍 Frogbot scanned this pull request and did not find any new security issues.


import { join } from 'path';
import { lt } from 'semver';

export enum MarkdownSection {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove un used code as the sections logic was moved to the CLI

@EyalDelarea EyalDelarea merged commit 49baf48 into jfrog:master Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JFrog Job Summary is not displayed

2 participants