Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ <h3>Job Step Example</h3>
- equal: [ main, &lt;&lt; pipeline.git.branch &gt;&gt; ]
- or: [ &lt;&lt; pipeline.parameters.param1 &gt;&gt;, &lt;&lt; pipeline.parameters.param2 &gt;&gt; ]
- or:
- equal: [ false, &lt;&lt; pipeline.parameters.param1 &gt;&gt; ]
- equal: [ false, &lt;&lt; pipeline.parameters.param3 &gt;&gt; ]
steps:
- run: echo "I am on main AND param1 is true OR param2 is true -- OR param1 is false"
- run: echo "This condition is true: ( main && ( param1 || param2 ) ) || param3"
</pre>
<h3>Workflow Example</h3>
<pre>workflows:
Expand Down Expand Up @@ -44,4 +44,4 @@ <h3>Workflow Example</h3>
steps:
- run: echo "param 4 is true OR the other nested conditions are true"
</pre>
<p> </p>
<p> </p>