mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
allowing TopLevelItems to be used under ItemGroups other than Hudson.
This commit is contained in:
1 parent
4207cf9330
commit
072556e8c8
8 files changed
+34
-27
No files matched your search
@@ -225,6 +225,10 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
|
||||
new DescribableList<BuildWrapper, Descriptor<BuildWrapper>>(this);
|
||||
|
||||
public MavenModuleSet(String name) {
|
||||
this(Hudson.getInstance(),name);
|
||||
}
|
||||
|
||||
public MavenModuleSet(ItemGroup parent, String name) {
|
||||
super(Hudson.getInstance(),name);
|
||||
}
|
||||
|
||||
@@ -233,10 +237,6 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
|
||||
return ".";
|
||||
}
|
||||
|
||||
public Hudson getParent() {
|
||||
return Hudson.getInstance();
|
||||
}
|
||||
|
||||
public Collection<MavenModule> getItems() {
|
||||
return modules.values();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user