[ 
https://issues.jenkins-ci.org/browse/JENKINS-13094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160291#comment-160291
 ] 

Andoni del Olmo commented on JENKINS-13094:
-------------------------------------------

Suggestion:

Add some logs to the isApplicable() method in M2ReleaseBuildWrapper.

----------
        @Override
        public boolean isApplicable(AbstractProject<?, ?> item) {
            boolean isApplicable = item instanceof AbstractMavenProject;
            LoggerFactory.getLogger(M2ReleaseBuildWrapper.class).debug("[" + 
item.getClass().getCanonicalName()
                    + "] isApplicable? [" + isApplicable + "]");
            return isApplicable;
        }
----------

15.03.2012 15:05:31 
org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper$DescriptorImpl 
isApplicable
FEIN: [hudson.maven.MavenModuleSet] isApplicable? [true]
15.03.2012 14:57:56 
org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper$DescriptorImpl 
isApplicable
FEIN: [hudson.model.FreeStyleProject] isApplicable? [false]
                
> Inform user if the plugin is applicable for a job
> -------------------------------------------------
>
>                 Key: JENKINS-13094
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13094
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: m2release
>    Affects Versions: current
>            Reporter: Andoni del Olmo
>            Assignee: teilo
>
> Inform the user if m2release is applicable for an especific Job when 
> configuring it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to