Open avishnyakov opened 6 years ago
Thanks for reporting that. I can explain what happens.
When you put a command like:
- echo "Building docs profile: $DOCS_PROFILE"
in YAML notation it's "hash", i.e. - key: value
where, in your case, key is everything before :
- echo "Building docs profile
and value is everything after :
- $DOCS_PROFILE"
AppVeyor supports multiple command "processors" by introducing command suffixes, such as cmd:
, ps:
, pwsh:
, sh:
. The error you see is coming from a "factory" responsible for instantiation of correct command processor by command prefix.
So, the issue is the bug. Correct behavior would be displaying more friendly error: Unknown command prefix
.
Hey guys, seeing unexpected behaviour while using "echo" under Ubuntu builds:
Weird one:
Output:
Good one:
Couldn't spot anything obvious in the doco, decided to put it here.