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
You have a build with multiple triggers, and you need to skip a certain step if the pipeline was launched using a Cron trigger.
16
+
You have a build with multiple triggers and you need to skip a certain step if the pipeline was launched using a Cron trigger.
17
17
18
18
##Details
19
19
20
20
###Configure Cron trigger message
21
21
22
-
In the**Message** fieldin the Cron trigger configuration, set a message, for example, "using cron".
22
+
In the**Message** fieldof the Cron trigger configuration settings, set a message, for example, "using cron".
23
23
24
24
###Implement Conditional Step
25
25
26
-
Utilize the`EVENT_MESSAGE` variable in your pipeline steps with a condition as in the following example:
26
+
Use the`EVENT_MESSAGE` variable in your pipeline steps with a condition as in the following example:
27
27
28
28
{% raw %}
29
29
@@ -43,7 +43,7 @@ Utilize the `EVENT_MESSAGE` variable in your pipeline steps with a condition as
43
43
44
44
{% endraw %}
45
45
46
-
The condition ensures that specific steps execute only when the pipeline is triggered by Cron andthe Cron job messageis differentfrom the one defined in the Message field ("using cron" in our example).
46
+
The condition ensures that specific steps execute only when the pipeline is triggered by Cron,_and_ ifthe Cron job messagediffersfrom the one defined in the Message field (`using cron` in our example).
47
47
48
48
##Related Items
49
49
[Triggers in pipelines]({{site.baseurl}}/docs/pipelines/triggers/)