Class BuildData
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.model.BuildData
-
- All Implemented Interfaces:
Serializable
public class BuildData extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildData(Run<?,?> run, TaskListener listener)
-
Method Summary
-
-
-
Constructor Detail
-
BuildData
public BuildData(Run<?,?> run, @Nullable TaskListener listener) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-
Method Detail
-
getTags
public Map<String,Set<String>> getTags()
Assembles a map of tags containing: - Build Tags - Global Job Tags set in Job Properties - Global Tag set in Jenkins Global configuration- Returns:
- a map containing all tags values
-
getJobName
@Nonnull public String getJobName()
-
isCompleted
public boolean isCompleted()
-
isBuilding
public boolean isBuilding()
-
setHostname
public void setHostname(String hostname)
-
getCharset
public Charset getCharset()
-
getTotalQueueTimeMillis
public long getTotalQueueTimeMillis()
Returns the total time this build spent waiting in queue.
-
getVersion
public Integer getVersion()
-
getTraceId
public Long getTraceId()
-
getSpanId
public Long getSpanId()
-
setJenkinsUrl
public void setJenkinsUrl(String jenkinsUrl)
-
getUserId
public String getUserId()
-
getUpstreamPipelineUrl
@Nullable public String getUpstreamPipelineUrl()
-
getUpstreamPipelineTraceId
@Nullable public Long getUpstreamPipelineTraceId()
-
addLogAttributes
public net.sf.json.JSONObject addLogAttributes()
-
-