This plugin allows for the execution of a job when no other jobs are running.
'org.jvnet.hudson.plugins:exclusive-execution:0.2'
<dependency>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>exclusive-execution</artifactId>
<version>0.2</version>
</dependency>
<dependency org="org.jvnet.hudson.plugins" name="exclusive-execution" rev="0.2"/>
"org.jvnet.hudson.plugins", "exclusive-execution", "0.2"