Skip to content

Commit

Permalink
[JENKINS-33153] Ensure getBuildAdditionalArgs is not null
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossg committed Mar 9, 2016
1 parent 3e077a7 commit 0cbb39f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -155,7 +155,7 @@ public void setDockerfilePath(String dockerfilePath) {
}

public String getBuildAdditionalArgs() {
return buildAdditionalArgs;
return buildAdditionalArgs == null ? "" : buildAdditionalArgs;
}

@DataBoundSetter
Expand Down

1 comment on commit 0cbb39f

@grayaii
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! This has been biting me pretty hard. Thanks for fixing this!

Please sign in to comment.