public final class Util extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE
Content Type.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getArtifactIdentity(hudson.model.Run.Artifact artifact,
String buildUrl,
Integer buildNumber)
Get identity of an Artifact.
|
static String |
getFullName(hudson.model.Queue.Task t)
Fetches the full name task name if available.
|
static long |
getTime()
Fetches time as Epoch in miliseconds.
|
static String |
getUUID()
Generate a UIID.
|
static String |
translateStatus(String status)
Translate Jenkins job status into corresponding eiffel status.
|
public static final String CONTENT_TYPE
public static String getFullName(hudson.model.Queue.Task t)
t - Queue.taskpublic static String getUUID()
public static String getArtifactIdentity(hudson.model.Run.Artifact artifact, String buildUrl, Integer buildNumber)
artifact - artifact.buildUrl - Url to the build.buildNumber - jenkins run build number.public static long getTime()
Copyright © 2016–2019. All rights reserved.