harness / gitness

Gitness is an Open Source developer platform with Source Control management, Continuous Integration and Continuous Delivery.
https://gitness.com
Apache License 2.0
31.89k stars 2.78k forks source link

Cannot use expression variables in pipeline #3502

Open xzycn opened 2 months ago

xzycn commented 2 months ago

I have set an expression variable for image tag as document described, but an error "unable to parse variable name" when I run the pipeline. The pipeline yaml: image

xzycn commented 2 months ago

Update: the tags field should be a string not a array/list or map. Like this:

tags: ${{ build.branch }}

the plugin step from web-ui has a wrong format.

jimsheldon commented 2 months ago

Thanks for reporting this @xzycn. Lists are currently broken in plugin settings, this is a known issue that should be fixed in the next release.