Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
Empty credentialsId should be treated as null.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Mar 24, 2015
1 parent c37ee2b commit be262bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public String getCredentialsId() {
}

@DataBoundSetter public void setCredentialsId(String credentialsId) {
this.credentialsId = credentialsId;
this.credentialsId = Util.fixEmpty(credentialsId);
}

@Override public SCM createSCM() {
Expand Down

0 comments on commit be262bf

Please sign in to comment.