Spinnaker Pipeline SpEL Expressions: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
==A Tag set by a Trigger==
==A Tag set by a Trigger==
The tag set by a trigger can be accessed with the following expression:
The tag set by a trigger can be accessed with the following expression:
<font size=-1>
- image: "something/something-else:<font color=teal>${trigger['tag']}</font>"
</font>

Revision as of 01:59, 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']}"