Skip to content

Added TASK_WORKING_DIR variable#2103

Open
jaynis wants to merge 1 commit intogo-task:mainfrom
jaynis:task-working-dir
Open

Added TASK_WORKING_DIR variable#2103
jaynis wants to merge 1 commit intogo-task:mainfrom
jaynis:task-working-dir

Conversation

@jaynis
Copy link
Contributor

@jaynis jaynis commented Mar 7, 2025

This PR adds the TASK_WORKING_DIR special variable which contains the absolute path of the directory where task runs on. This is essentially the TASK_USER_DIR variable additionally taking into account the -d command line parameter.
The documentation of the similar, yet different TASK_DIR variable has been updated as well to avoid confusion.

fixes #2102

Signed-off-by: jaynis <kranz.jannis@googlemail.com>
andreynering added a commit that referenced this pull request Apr 19, 2025
Closes #2102
Closes #2103

Co-authored-by: jaynis <kranz.jannis@googlemail.com>
@andreynering
Copy link
Member

Closing in favor of #2186. See #2102 (comment).

andreynering added a commit that referenced this pull request Apr 19, 2025
…#2186)

Closes #2102
Closes #2103

Co-authored-by: jaynis <kranz.jannis@googlemail.com>
@pd93 pd93 reopened this Apr 27, 2025
@trulede
Copy link
Contributor

trulede commented Mar 6, 2026

See #2703 for an alternative solution which addresses what is probably the root cause of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add special variable for task working directory

4 participants