public final class BuildProxy extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
static boolean |
doPerform(Ghostwriter ghostwriter,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
(Call from master) Invokes the ghostwriter on the master and slave nodes for this build.
|
List<AbstractBuildAction<hudson.model.AbstractBuild<?,?>>> |
getActions()
Getter for property 'actions'.
|
hudson.FilePath |
getArtifactsDir()
Gets the directory (on the master) where the artifacts are archived.
|
hudson.FilePath |
getBuildRootDir()
Root directory of the
AbstractBuild on the master. |
hudson.FilePath |
getExecutionRootDir()
Returns the root directory of the checked-out module on the machine where the build executes.
|
hudson.FilePath |
getProjectRootDir()
Root directory of the
AbstractProject on the master. |
hudson.model.Result |
getResult()
Getter for property 'result'.
|
Calendar |
getTimestamp()
When the build is scheduled.
|
boolean |
isContinueBuild()
Getter for property 'continueBuild'.
|
void |
setContinueBuild(boolean continueBuild)
Setter for property 'continueBuild'.
|
void |
setResult(hudson.model.Result result)
Setter for property 'result'.
|
void |
updateBuild(hudson.model.AbstractBuild<?,?> build)
(Designed for execution from the master) Updates the build with the results that were reported to this proxy.
|
public static boolean doPerform(Ghostwriter ghostwriter, hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener) throws IOException, InterruptedException
ghostwriter
- The ghostwriter that will be doing the work for the publisher.build
- The build.listener
- The build listener.true
if the build can continue.IOException
- on IOException.InterruptedException
- on InterruptedException.public void updateBuild(hudson.model.AbstractBuild<?,?> build)
build
- The build to update.public List<AbstractBuildAction<hudson.model.AbstractBuild<?,?>>> getActions()
public hudson.FilePath getArtifactsDir()
public hudson.FilePath getBuildRootDir()
AbstractBuild
on the master.
Files related to the AbstractBuild
should be stored below this directory.AbstractBuild
on the master.public hudson.FilePath getExecutionRootDir()
public hudson.FilePath getProjectRootDir()
AbstractProject
on the master.
Files related to the AbstractProject
should be stored below this directory.AbstractProject
on the master.public hudson.model.Result getResult()
public void setResult(hudson.model.Result result)
result
- Value to set for property 'result'.public Calendar getTimestamp()
public boolean isContinueBuild()
public void setContinueBuild(boolean continueBuild)
continueBuild
- Value to set for property 'continueBuild'.Copyright © 2016–2018. All rights reserved.