Spinnaker Pipeline SpEL Expressions: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
==The Judgement Value set by a Manual Judgement Stage==
==The Judgement Value set by a Manual Judgement Stage==
<font size=-1>
<font size=-1>
  ${ execution.stages.?[ name == 'Rollback Decision' ][0].outputs.environment }
  ${ execution.stages.?[ name == 'Rollback Decision' ][0].<font color=teal>judgementInput</font> }
</font>
</font>

Revision as of 02:01, 24 March 2022

External

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 == 'Rollback Decision' ][0].judgementInput }