Skip to content

Commit

Permalink
Merge pull request #35 from vjuranek/JENKINS-9843
Browse files Browse the repository at this point in the history
[FIXED JENKINS-9843] Fixed NPE
  • Loading branch information
abayer committed Jul 15, 2011
2 parents 421d838 + 2c59d40 commit b3ea09e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -45,7 +45,7 @@ public void setMergeTarget(String mergeTarget) {

@Exported
public String getRemoteBranchName() {
return mergeRemote.getName() + "/" + mergeTarget;
return (mergeRemote == null) ? null : mergeRemote.getName() + "/" + mergeTarget;
}

public boolean doMerge() {
Expand Down

0 comments on commit b3ea09e

Please sign in to comment.