Difference between revisions of "GitLab, when:"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
https://docs.gitlab.com/ee/ci/yaml/#when
+
* https://docs.gitlab.com/ee/ci/yaml/#when
 +
on_success (default): Run the job only when all jobs in earlier stages succeed or have allow_failure: true.
 +
manual: Run the job only when triggered manually.
 +
always: Run the job regardless of the status of jobs in earlier stages. Can also be used in workflow:rules.
 +
on_failure: Run the job only when at least one job in an earlier stage fails.
 +
delayed: Delay the execution of a job for a specified duration.
 +
never: Don’t run the job. Can only be used in a rules section or workflow: rules.
  
  

Revision as of 11:38, 5 July 2022

on_success (default): Run the job only when all jobs in earlier stages succeed or have allow_failure: true.
manual: Run the job only when triggered manually.
always: Run the job regardless of the status of jobs in earlier stages. Can also be used in workflow:rules.
on_failure: Run the job only when at least one job in an earlier stage fails.
delayed: Delay the execution of a job for a specified duration.
never: Don’t run the job. Can only be used in a rules section or workflow: rules.



See also

Advertising: