简体   繁体   English

Jenkins 忽略同一作业的多个构建触发

[英]Jenkins ignores multiple build triggering for the same job

I'm trying to trigger a job on my Jenkins for multiple times at the same time.我试图同时多次触发我的 Jenkins 上的工作。 But it looks like Jenkins is ignoring all builds I triggered when the very first build starts to run.但看起来 Jenkins 忽略了我在第一个构建开始运行时触发的所有构建。

For example, in the screenshot below, I clicked the builds start button for 5 times with no delay.例如,在下面的屏幕截图中,我毫无延迟地单击了builds start按钮 5 次。 It is showing 5 builds on the queue as I expected.正如我预期的那样,它在队列上显示了 5 个构建。

詹金斯建立等候名单

But once the job gets started after the executor (Kubernetes) becomes ready, the build queue suddenly gets cleaned up.但是一旦执行器(Kubernetes)准备好后开始作业,构建队列就会突然被清理干净。 Seems like the very first job I've triggered is only being executed, and the other queued jobs are just... gone.似乎我触发的第一个工作只是被执行,而其他排队的工作只是......消失了。

在此处输入图像描述

在此处输入图像描述

I need to queue all jobs correctly for my use case.我需要为我的用例正确排列所有作业。 Is this a bug?这是一个错误吗? Or is there something that I'm missing?还是我缺少什么? How do I find a walkaround?我如何找到一个走动?

I'm running the latest stable/jenkins Helm chart on my Kubernetes v1.16.我在我的 Kubernetes v1.16 上运行最新的stable/jenkins Helm 图表。

Thank you.谢谢你。

In Jenkins, you've to set # of executors value to a higher number if you need to run multiple parallel jobs.在 Jenkins 中,如果您需要运行多个并行作业,则必须将# of executors值设置为更高的数字。 By default, it's zero.默认情况下,它为零。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Jenkins 中构建完成后触发相同的 jenkins 作业 - Triggering the same jenkins job after the build is finished in Jenkins Jenkins矩阵作业未触发多个下游作业 - Jenkins matrix job not triggering multiple downstream jobs Jenkins 管道 - 多次并行构建相同的作业 - Jenkins Pipeline - build same job multiple times in parallel Jenkins 与 Gerrit - 在多回购项目上触发 CI 作业,为具有相同主题的多个提交配置触发器 - Jenkins with Gerrit - Triggering a CI job on a multi-repo project, configure trigger for multiple commits that have the same subject Jenkins 在给定的时间间隔触发构建步骤/阶段(不是整个工作) - Jenkins Triggering of a Build Step/Stage(not the entire job) at a given interval azure devops 中的服务挂钩不会触发 jenkins 作业中的构建 - Service hook in azure devops not triggering a build in jenkins job jenkins:找到构建脚本的作业的触发用户 - jenkins: Find the triggering user of a job for the build-script Jenkins下游作业未从“构建流程”作业中触发 - Jenkins downstream jobs not triggering from Build Flow job 远程触发构建后检查 Jenkins 作业状态 - Check Jenkins job status after triggering a build remotely Jenkins-如何使工作继续触发失败的构建 - Jenkins - how to make job continue triggering build with failures
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM