package org.palo.it.forge.maven.plugins.jenkins.actions;

import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.palo.it.forge.maven.plugins.jenkins.exceptions.MavenJenkinsPluginsException;
import org.palo.it.forge.maven.plugins.jenkins.models.ProjectInfoJenkins;
import org.palo.it.forge.maven.plugins.jenkins.services.JenkinsService;

/**
 * @goal update
 * @author pguillerm
 * @since 30 juil. 2014
 */
@Mojo(name = "update", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true)
public class MojoUpdateJobs extends AbstractMojoCommons {
    // =========================================================================
    // ATTRIBUTES
    // =========================================================================
    @Override
    protected void executePlugin(ProjectInfoJenkins info) throws MavenJenkinsPluginsException {
        JenkinsService.getInstance().updateJobs(info);
    }

}

@@ -50,16 +50,33 @@
 ctions;%0A
+//test for CI%0Aimp
 %0Aimport 

test for CI