openshift-vsts icon indicating copy to clipboard operation
openshift-vsts copied to clipboard

Is not possible to use * in the oc command!

Open gusffarias opened this issue 5 years ago • 1 comments

I am tryng to execute the oc command with apply -f .yaml, but the return is error: the path "/agent/_work/r22/a/drop/.yaml" does not exist

But executing the same command direct form shell is working fine.

gusffarias avatar Nov 13 '20 17:11 gusffarias

The * is matching yaml files from the shell, not from the task nor the oc command. It is conveninent in bash files, but uncommon to match these files from a command

Here is a demo that should be self explaining : image

worming004 avatar Oct 03 '23 11:10 worming004