Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Job Summary disabled on self hosted machines #194

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

EyalDelarea
Copy link
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
Copy link

github-actions bot commented Sep 2, 2024

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


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

export enum MarkdownSection {
Copy link
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
18 checks passed
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