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

[BUG] error when using cd command in citrus-cli jobs #4

Open
davidkurilla opened this issue May 22, 2024 · 0 comments
Open

[BUG] error when using cd command in citrus-cli jobs #4

davidkurilla opened this issue May 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@davidkurilla
Copy link
Owner

davidkurilla commented May 22, 2024

There is a currently a bug in citrus-cli in which if you attempt to use the change directory command cd as a command for a job on a task you get an error.

Failed to execute command: Os { code: 2, kind: NotFound, message: "No such file or directory" }

to recreate this bug, follow these steps.

  1. create a task YAML file that uses the cd command as a command in an attempt to change your directory using a relative file path.
- name: cd
  command: "cd relative/path/to/directory"
  1. create the task with citrus-cli create [TaskName] [TaskFile]

  2. run the task with citrus-cli run [TaskName]

Any proposed solutions are welcome in the comments.

@davidkurilla davidkurilla added bug Something isn't working help wanted Extra attention is needed labels May 22, 2024
@davidkurilla davidkurilla self-assigned this May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant