Skip to content

Commit

Permalink
Merge pull request #9 from hugueschabot/patch-1
Browse files Browse the repository at this point in the history
[FIXED JENKINS-21781] Update IntegratableProjectAction.java (support "/" in feature branch name)
  • Loading branch information
hugueschabot committed Feb 12, 2014
2 parents 952a644 + 53aeba4 commit 159b0b1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -133,7 +133,7 @@ public void doNewBranch(StaplerRequest req, StaplerResponse rsp, @QueryParameter
}

// copy a job, and adjust its properties for integration
AbstractProject<?,?> copy = Jenkins.getInstance().copy(project, project.getName() + "-" + name);
AbstractProject<?,?> copy = Jenkins.getInstance().copy(project, project.getName() + "-" + name.replaceAll("/", "-"));
BulkChange bc = new BulkChange(copy);
try {
copy.removeProperty(IntegratableProject.class);
Expand Down

0 comments on commit 159b0b1

Please sign in to comment.