Henri Gomez commented on Bug JENKINS-23643

I took a look at commit (https://github.com/hgomez/dependency-check-plugin/commit/9c29b7e321c192f9ac1a02d404f07d0b168ecfc7) and see some problems.

First, when you create post-pre step, instance didn't exist and so test for Maven is not executed :

<j:if test="${instance.isMaven(it.getClass())}">

Also isMaven() in buildescriptor shouldn't use clazz but provided parm :

public boolean isMaven(Class<? extends AbstractProject> aP) {
            return MavenModuleSet.class.isAssignableFrom(aP) || MavenModule.class.isAssignableFrom(aP);
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to