You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The environment section parser bug: a special helper method credentials parser is broken. It's adding single quotes around method. Then it will be errors in pipeline.
To Reproduce
Steps to reproduce the behavior:
Go to 'Pipeline As YAML Converter'
Paste the code from Additional context
Press 'Convert to Pipeline'
See like environment section converted
4.1 Press 'Valid' & see validation errors
startup failed:
WorkflowScript: 18: Environment variable values must either be single quoted, double quoted, or function calls. @ line 18, column 50.
LS_SECRET_TOKEN = 'credentials('COVERALLS_
^
WorkflowScript: 17: No variables specified for environment @ line 17, column 11.
environment {
^
2 errors
The text was updated successfully, but these errors were encountered:
Describe the bug
The
environment
section parser bug: a special helper methodcredentials
parser is broken. It's adding single quotes around method. Then it will be errors in pipeline.To Reproduce
Steps to reproduce the behavior:
environment
section converted4.1 Press 'Valid' & see validation errors
Expected behavior
As expected by docs of environment syntax.
Convert this
to this (without quotes around
credentials
method):Desktop (please complete the following information):
Additional context
I have code like this:
and this is parsing result:
Validation says that:
The text was updated successfully, but these errors were encountered: