public class JenkinsTriggerRun extends Object implements TriggerRun
TriggerRun
for Jenkins.Constructor and Description |
---|
JenkinsTriggerRun(hudson.model.Run run) |
Modifier and Type | Method and Description |
---|---|
String |
getEnvironment(String name)
Gets an environment variable
|
hudson.model.Result |
getResult()
Result of the build
|
@CheckForNull public hudson.model.Result getResult()
TriggerRun
getResult
in interface TriggerRun
@CheckForNull public String getEnvironment(String name) throws IOException, InterruptedException
TriggerRun
getEnvironment
in interface TriggerRun
name
- Name of the environment variableIOException
- If an I/O exception occursInterruptedException
- If the call is interruptedCopyright © 2016–2023. All rights reserved.