Skip to content

Commit

Permalink
Merge pull request #13 from Brantone/master
Browse files Browse the repository at this point in the history
Fix for using with CloudBees Folder plugin
  • Loading branch information
ndeloof committed Mar 30, 2015
2 parents 1ad29c3 + c3a7516 commit 657f327
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -43,7 +43,7 @@ public String getProjectName() {
}

public List<Builder> getProjectBuilders() {
AbstractProject p = (AbstractProject) Hudson.getInstance().getItem(projectName);
AbstractProject p = (AbstractProject) Hudson.getInstance().getItemByFullName(projectName);
if (p instanceof Project) return ((Project)p).getBuilders();
else if (p instanceof MatrixProject) return ((MatrixProject)p).getBuilders();
else return Collections.emptyList();
Expand Down

0 comments on commit 657f327

Please sign in to comment.