Skip to content
Permalink
Browse files
[JENKINS-31162] Support for Item categorization for MultiBranchProjects
  • Loading branch information
recena committed Apr 6, 2016
1 parent 0d311cd commit 09d0808ab85911fcb4efcb1eeee162f8d779ed21
Showing 6 changed files with 15 additions and 28 deletions.
@@ -89,7 +89,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>cloudbees-folder</artifactId>
<version>5.2.1</version>
<version>5.8-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
@@ -71,7 +71,15 @@ public WorkflowMultiBranchProject(ItemGroup parent, String name) {
@Extension public static class DescriptorImpl extends MultiBranchProjectDescriptor {

@Override public String getDisplayName() {
return "Multibranch Pipeline";
return Messages.WorkflowMultiBranchProject_DisplayName();
}

public String getDescription() {
return Messages.WorkflowMultiBranchProject_Description();
}

public String getIconFilePathPattern() {
return "plugin/workflow-images/:size/pipelinemultibranchproject.png";
}

@Override public TopLevelItem newInstance(ItemGroup parent, String name) {
@@ -0,0 +1,2 @@
WorkflowMultiBranchProject.DisplayName=Multibranch Pipeline
WorkflowMultiBranchProject.Description=Creates a set of Pipeline projects according to detected branches in one SCM repository.
@@ -24,6 +24,6 @@ THE SOFTWARE.
-->

<?jelly escape-by-default='true'?>
<div>
${%body}
</div>
<j:jelly xmlns:j="jelly:core">
<j:out value="${it.description}"/>
</j:jelly>

This file was deleted.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 09d0808

Please sign in to comment.