-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matrix variable not usable in environment #1945
Comments
This seems to be the same issue as reported in #2505 (comment) |
Can't reproduce on a95f1bc: Also, it's not necessary to pass matrix variable via |
Yes it works: https://ci.gitnet.fr/repos/315/pipeline/4 But, using matrix this ways failed:
The next syntax works but is not practical because I can't reuse PHP_VERSION:
Expected:
|
OK, it's now a dupplicated issue so I close it. |
Component
server, agent
Describe the bug
When a variable is defined through a matrix, it's not possible to use it as environment variable.
This following configuration results on error:
failed to parse pipeline: Cannot unmarshal '<nil>' of type <nil> into a string value
.But this following config works:
System Info
Additional context
Example: https://ci.gitnet.fr/repos/315
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: