mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-22 00:05:31 +00:00
Extension points can now contribute multiple actions.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25771 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
230333df15
commit
91f80263e5
23 files changed
+175
-98
No files matched your search
@@ -413,9 +413,7 @@ public final class MavenModule extends AbstractMavenProject<MavenModule,MavenBui
|
||||
for (MavenReporter step : list) {
|
||||
if(!added.add(step.getClass())) continue; // already added
|
||||
try {
|
||||
Action a = step.getProjectAction(this);
|
||||
if(a!=null)
|
||||
transientActions.add(a);
|
||||
transientActions.addAll(step.getProjectActions(this));
|
||||
} catch (Exception e) {
|
||||
LOGGER.log(Level.WARNING, "Failed to getProjectAction from " + step
|
||||
+ ". Report issue to plugin developers.", e);
|
||||
|
||||
Reference in new issue
Block a user