Jenkins - Running instances of single build concurrently

后端 未结 5 1042
一个人的身影
一个人的身影 2020-12-01 12:18

I\'d like to be able to run several builds of the same Jenkins job simultaneously.

Example:

  1. Build [*jenkins_job_1*]: calls an ant script with parameter
5条回答
  •  青春惊慌失措
    2020-12-01 12:48

    Jenkins has a check box: "Execute concurrent builds if necessary"

    If you check this, then it'll start multiple builds for a job.

    This works with the "This build is parameterized" checkbox.

    You would still trigger the builds, passing your A or B as parameters. You can use another job to trigger them or you could do it manually via a script.

提交回复
热议问题