Skip to content
Permalink
Browse files
[JENKINS-33153] Ensure getBuildAdditionalArgs is not null
  • Loading branch information
carlossg committed Mar 9, 2016
1 parent 3e077a7 commit 0cbb39f60d9896884761dd9e4033c459ce549eee
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java
@@ -155,7 +155,7 @@ public void setDockerfilePath(String dockerfilePath) {
}

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

@DataBoundSetter

1 comment on commit 0cbb39f

@grayaii

This comment has been minimized.

Copy link

@grayaii grayaii commented on 0cbb39f Mar 12, 2016

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

Please sign in to comment.