Skip to content
Permalink
Browse files
Fix JENKINS-15391 - NullPointerException on Tag publishing
Use hudson.Util.fixNull to convert a null tagMessage to an empty string
  • Loading branch information
dt41045 committed Oct 3, 2012
1 parent 4817492 commit 6ec14325a21a4519cab8e0dd475894d3159138ba
Showing 1 changed file with 1 addition and 1 deletion.
@@ -261,7 +261,7 @@ gitExe, new FilePath(workspace),
}
if (tagResult) {
final String tagName = environment.expand(t.getTagName());
final String tagMessage = environment.expand(t.getTagMessage());
final String tagMessage = hudson.Util.fixNull(environment.expand(t.getTagMessage()));
final String targetRepo = environment.expand(t.getTargetRepoName());

try {

0 comments on commit 6ec1432

Please sign in to comment.