-
Suggestion
-
Resolution: Unresolved
-
None
Problem
The need to avoid build steps based on certain conditions.
Suggested solution
Implement a clause when: as part of a step.
e.g.
- step:
name: some conditional step
script:
- echo "run only if the condition is true"
when: $(git diff --name-only --diff-filter=AMDR HEAD^ some-directory-or-file) != ""
- is duplicated by
-
BCLOUD-16560 Trigger pipeline only if certain files are changed
- Closed