Closed qbejs closed 5 months ago
Thanks for creating the issue. Just a quick note, this is not related to $VAR
vs ${VAR}
. The actual issue is this line:
EXTRA_ARGS: [ "-P", $PORT ]
Normally, the variables of a pipe
should be strings, but in your case, you have a list of strings there. I think you can workaround this issue temporarily by changing that line to
EXTRA_ARGS: '[ "-P", $PORT ]'
In any case, if that step works as in in Bitbucket, I will fix my tool to support this shortly.
@qbejs I've merged a fix for parsing variables that are lists, as well as injecting them properly in the pipe.
However, you will likely encounter another issue with ssh keys when you try to actually run those pipes. I'll open an issue for that and will try to fix it in a timely manner.
@qbejs I've released a version 0.4.1 which should fix your problem and the 2nd one I mentioned.
When variables are declared $VAR instead of ${VAR} code gives validation errors. Below sample of valid in bitbucket validator but it throwing valid string errors.