Azure / Azure/BatchExplorer

`workingDirectory` is ignored in task definition

Open
#2,982 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
205
Forks
75
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When I set `containerSettings.workingDirectory` in task JSON definition, the task is not submitted with this option.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a task from JSON editor with the following field:
```
"containerSettings": {
"workingDirectory": "containerImageDefault"
}
```
2. The task is created successfully but the working directory is the default (`taskWorkingDirectory`)
3. Open the task settings in JSON editor, the field `workingDirectory` is set to `taskWorkingDirectory`.

**Expected behavior**
I expect the working directory to be `containerImageDefault`.

**Version (please complete the following information):**
- OS: Linux
- Version `2.22.0-stable.1076`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.