Spinnaker Pipeline SpEL Expressions: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
</font> | </font> | ||
==The Judgement Value set by a Manual Judgement Stage== | ==The Judgement Value set by a Manual Judgement Stage== | ||
< | <syntaxhighlight lang='groovy'> | ||
${ execution.stages.?[ name == '<stage-name>' ][0].judgementInput } | |||
</ | </syntaxhighlight> | ||
where <code>stage-name</code> should be replaced with the actual name of the Manual Judgement stage. |
Revision as of 02:04, 24 March 2022
External
- https://spinnaker.io/docs/guides/user/pipeline/expressions/
- https://spinnaker.io/docs/reference/pipeline/expressions/
Internal
Overview
Accessing Pipeline Element State
A Tag set by a Trigger
The tag set by a trigger can be accessed with the following expression:
- image: "something/something-else:${trigger['tag']}"
The Judgement Value set by a Manual Judgement Stage
${ execution.stages.?[ name == '<stage-name>' ][0].judgementInput }
where stage-name
should be replaced with the actual name of the Manual Judgement stage.