Schedule Trigger & Pipeline Completion Trigger Type in CI Pipeline

 

Schedule Trigger
Schedule trigger is more like a cron job, like a cron tab in Linux.

You can get yourself scheduled. You can schedule this pipeline, then according According to the schedule, it will go and start running.

If you have changes in your develop branch and if you have branch filter enabled, then even though it will run as per schedule date and time

 

Can add Multiple schedule against a pipeline

  • Go to DevOps > Pipeline > Edit > Triggers
  • Click Add button next to schedule
    •  

 

 

 

Pipeline/Build Completion Trigger

  • Imagine there are 3 pipelines a a branch, A,B & C. 
  • Now imagine you want to maintain some sort of sequence. B is dependent on a successful completion of A, C is dependent on B's successful completion. 
  • If A fails, B will not run. If B fails, C will not run.
  • If you want to maintain any such sequence okay, then you can use build completion trigger.
    • prj-web-classic-pipeline-devOps-Asp.Net-CI is depended on completion of prj-web-classic-pipeline-devOps-Asp.Net-C2
    • If prj-web-classic-pipeline-devOps-Asp.Net-C2 build is successful then prj-web-classic-pipeline-devOps-Asp.Net-CI build pipeline will start running automatically.

 

 


Related Question