9

Is it possible to disable manual build trigger to be configured per job?

I explicitly do not want to disable a job, obviously, as it should be triggered by other build triggers (SCM Polling, Schedule, upstream job).

ITL
  • 259

1 Answers1

8

Try using Job Restrictions Plugin

Then check these options:

  • Restrict build execution causes
  • Restrict manual builds submission
  • Prohibits manual launch of the job for all users

Although users can launch the Job, it will be immediately aborted with message in console:

FATAL: [Job Restrictions] - Build will be aborted: Manual launch is prohibited

Noam Manos
  • 2,222