Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Currently only modules which are disabled themselves - i.e. are no longer part of the moduleset - are excluded.
We should also exclude modules which are not buildable - i.e. whose MavenModuleSets are disabled.
See MavenModule#buildDependencyGraph()
for (MavenModule m : Hudson.getInstance().getAllItems(MavenModule.class)) {
if(m.isDisabled()) continue;
should be replaced with
for (MavenModule m : Hudson.getInstance().getAllItems(MavenModule.class)) {
if(!m.isBuildable()) continue;
Code changed in jenkins
User: Christoph Kutzinski
Path:
maven-plugin/src/main/java/hudson/maven/MavenModule.java
http://jenkins-ci.org/commit/jenkins/4d8d95b5172387a0f73c61e68eb9aced65da7d7c
Log:
[FIXED JENKINS-10367] Maven modules which are not buildable should be excluded from the dependency graph