Open fakhrulhilal opened 3 years ago
A shot in the dark here since I'm not using the YAML version of Yuniql in Azure. I hade the exactly same error message when I forgot to install Yuniql and as far as I can deduce this is related to the Yuniql task trying to locate the executable https://github.com/rdagumampan/yuniql-azure-pipelines-tasks/blob/0fb660eb3880b900f4d946e6a070455ee3817ebf/src/run/runyuniql.ts#L46
Try installing Yuniql via the dedicated task as described here:
- task: UseYUNIQLCLI@1
inputs:
version: 'latest'
@fakhrulhilal @johansandblom, thanks for reaching out and thanks for the suggested solution. It surprises me that many people find the yaml pipelines helpful and appreciate the feeedback. Yes, the pipelines tasks expects the specific yuniql version installed in a dedicated tools directory of the build agent. This is just how custom pipelines tasks works. If you wish to run pure CLI based, you can very well do so by calling dotnet install
and yuniql run
on two Command Line tasks. HTH/Rodel - Maintainer
I'm having error
##[error]Path must be a string. Received undefined
which I don't understand the cause. I thought it's about missing yuniql tool, but it doesn't help when I install yuniql.cli manually. Here's my config:And this's the error log detail: