more than one build in queue for specific job in jenkins

前端 未结 2 1405
生来不讨喜
生来不讨喜 2020-12-31 10:19

I have a job which I trigger with parameters from another job using wget. each time I give the job different parameter - which svn revision to run

相关标签:
2条回答
  • 2020-12-31 10:42

    I needed to do the same, and discovered the Random String Parameter Plugin. This adds a random string to each build as a parameter, which is enough to make each build unique and for Jenkins to queue them independently rather than coalesce them.

    0 讨论(0)
  • 2020-12-31 10:51

    Jenkins doesn't place a build in the queue if it already contains one with the same param values.

    To trick it, you could add an additional, unused param, and set it to a random value when calling wget.

    0 讨论(0)
提交回复
热议问题