How to disable Branch Indexing?

隐身守侯 提交于 2019-12-11 15:39:47

问题


I have tests that can only run in serial. This is because they're rspec tests that use a database. If multiple jobs are running at the same time, they'll all be using the same database and creating a conflict.

However, sometimes when I commit to my Github pull request Jenkins will correctly kick off a test job. However, it will also kick off another duplicate job with the message "Branch Indexing". These jobs can't run at the same time or the tests will break. Additionally, these jobs take 20 minutes to complete so it's just backing up the queue for no apparent reason.

I don't know what this Branch Indexing job is, but why does it have to run at the same time as my other job? How do I disable it?

来源:https://stackoverflow.com/questions/54334258/how-to-disable-branch-indexing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!