Jenkins: build one job after another with some delay

前端 未结 4 1566
我在风中等你
我在风中等你 2020-12-14 17:01

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

4条回答
  •  遥遥无期
    2020-12-14 17:49

    If you're using the REST api, you can add a url get value like this:

    http://jenkins/job/jobname/build?delay=4

    That will delay 4 seconds and start the job.

提交回复
热议问题