CI with Jenkins: how to force building happen on slaves instead of master?

前端 未结 4 1031
野趣味
野趣味 2020-12-28 20:35

I am using Jenkins for CI, I have a master and two slaves, master is running Jenkins and I want only slaves doing the actual building task, is there anywhere I can configure

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-28 21:04

    One of my first steps in setting up a new Jenkins master is to do what you mention in your question, set "executors" to zero in the master server config.

    This prevents anything from ever building on master.

提交回复
热议问题