public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
for (Cloud c : Jenkins.getInstance().clouds) {
if (c instanceof DockerCloud && ((DockerCloud) c).getTemplate(image) == null) {
LOGGER.log(Level.INFO, "Adding new template « "+image+" » to cloud " + ((DockerCloud) c).name);
DockerTemplate t = new DockerTemplate(image, labelString, remoteFs, remoteFsMapping,
credentialsId, idleTerminationMinutes,
jvmOptions, javaPath,
prefixStartSlaveCmd,
suffixStartSlaveCmd, instanceCapStr,
dnsString, dockerCommand,