Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[FIXED JENKINS-24708] Also expose 'detailMessage property in remote A…
Browse files Browse the repository at this point in the history
…PI.'

The message property is not used in the tasks plugin, detailMessage contains the actual message.
  • Loading branch information
uhafner committed Sep 21, 2014
1 parent f919a79 commit 321bd84
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/hudson/plugins/tasks/parser/Task.java
@@ -1,10 +1,11 @@
package hudson.plugins.tasks.parser;

import org.apache.commons.lang.StringUtils;
import org.kohsuke.stapler.export.Exported;

import hudson.plugins.analysis.util.model.AbstractAnnotation;
import hudson.plugins.analysis.util.model.Priority;

import org.apache.commons.lang.StringUtils;

/**
* A serializable Java Bean class representing an open task.
*
Expand Down Expand Up @@ -39,6 +40,7 @@ public Task(final Priority priority, final int lineNumber, final String taskTag,
*
* @return the detail message of the task
*/
@Exported
public String getDetailMessage() {
return super.getMessage();
}
Expand Down

0 comments on commit 321bd84

Please sign in to comment.