public interface BuildContext
| Modifier and Type | Method and Description |
|---|---|
String |
expand(String s)
Expands environment variable references in the provided string if the current build is for a
freestyle project.
|
hudson.model.TaskListener |
getListener() |
hudson.FilePath |
getWorkspace() |
String expand(String s) throws IOException, InterruptedException
s - the string to apply variable expansion tos with variables expanded, if the current build is for a freestyle
job, or s otherwiseIOException - if an I/O error occurs attempting to retrieve the necessary context to
perform variable expansionInterruptedException - if an interruption occurs attempting to retrieve the necessary
context to perform variable expansion@CheckForNull hudson.FilePath getWorkspace() throws IOException, InterruptedException
IOExceptionInterruptedExceptionhudson.model.TaskListener getListener()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2017–2021 Google. All rights reserved.