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

Pass multiple values to JF_WORKING_DIR #785

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

attiasas
Copy link
Contributor

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.
  • Update documentation about new features / new supported technologies

add option to parse multiple working dirs to JF_WORKING_DIR environment variable separated by ,

@attiasas attiasas added the improvement Automatically generated release notes label Nov 21, 2024
@attiasas attiasas added the safe to test Approve running integration tests on a pull request label Nov 21, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Nov 21, 2024
Copy link
Contributor

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


@@ -95,15 +95,14 @@ type Project struct {

func (p *Project) setDefaultsIfNeeded() error {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add a test to the multiple working dirs.
Also - adjust the documentation (I guess it's a "," delimiter) - need to point that specifically.

workingDir := getTrimmedEnv(WorkingDirectoryEnv)
if workingDir == "" {

workingDirs, _ := readArrayParamFromEnv(WorkingDirectoryEnv, WatchesDelimiter)
Copy link
Collaborator

Choose a reason for hiding this comment

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

if we're using WatchesDelimiter for both - let's change its name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants