Currently I use the EC2 plugin with Jenkins, so when it needs more agents (slaves) it starts them up (or kills them when not needed). Up till now the agents have been configured with 2 job slots which is fine. However there is one particular job that requires the entire EC2 instance.
So, how can I block other jobs from running on an agent while this particular job is running? Normally the solution would be to filter the job to one set of special agents but I'd like to avoid creating an entirely new fleet of agents just for this one job.