Skip to content

USER_WORKING_DIR creates unexpected directory #1046

@dvgitit

Description

@dvgitit
  • Task version: v3.21.0 (h1:pVGAGXxJ9Pk5mvjqv/CsdAD4ZIzNMjF+vrXMueM/WFk=)
  • Operating System: Ubuntu 20.04.5 LTS

Symptoms

Unexpected directory created when using dir: {{.USER_WORKING_DIR}} in a task.

Reproduce

use gist https://gist.github.com/dvgitit/7554e02c75815ac155b3ceb2c283996c

git clone https://gist.github.com/dvgitit/7554e02c75815ac155b3ceb2c283996c test_uwd
cd test_uwd
chmod -R +x *.sh
./create_test_scenario.sh
cd test/test_uwd
./test.sh

directory ../../config/home is unexpected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions