Skip to content
Permalink
Browse files
Merge pull request #1 from recena/master
[JENKINS-31162] Support for Item categorization for MultiBranchProjects
  • Loading branch information
recena committed Apr 12, 2016
2 parents 0d311cd + c3a35eb commit 46baba62e37779fc4a90792a42046629e578a1b1
Showing 7 changed files with 17 additions and 28 deletions.
@@ -1,2 +1,4 @@
target
work
workflow-multibranch.iml
.idea
@@ -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</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 46baba6

Please sign in to comment.