redhat-developer / openshift-vsts

OpenShift Extension for Azure DevOps.
Apache License 2.0
15 stars 20 forks source link

Is not possible to use * in the oc command! #177

Open gusffarias opened 3 years ago

gusffarias commented 3 years ago

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.

worming004 commented 9 months ago

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