jenkins

Jenkins: build one job after another with some delay


I have 2 jobs in Jenkins: QA and Dev. In Dev job I checked "Build after other projects are built" option and set project name = QA so that QA job will be built after Dev job is built. But in my particular situation I need that QA job started building in 5 mins after Dev job is built. How can I do it? maybe I can add some build step with some data to add this delay ?

TIA, Anna


Solution

  • There is a "Quiet Period" option in the Advanced Project Options available. You can enter a value of 300 (its in seconds) to delay the start of the job by 5 mins.