openshift-vsts
openshift-vsts copied to clipboard
Is not possible to use * in the oc command!
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.
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 :