public interface IBuildTriggerable extends ICapability
| Modifier and Type | Method and Description |
|---|---|
void |
addBuildCause(String cause)
Add a human readable short explanation of why this build request was issued
|
List<String> |
getBuildCauses()
Get the list of human readable short explanations of why this build request
was issued
|
String |
getCommitId()
Get the commit level for the SCM extraction of the source code the build
operates against
|
void |
setCommitId(String commitId)
Set the commit level for the SCM extraction of the source code the build
operates against
|
void |
setEnvironmentVariable(String name,
String value)
Sets an environment variable for this build request
|
IBuild |
trigger()
Trigger a build based on a build config
|
IBuild |
trigger(String commitId)
Deprecated.
Replaced by calling
setCommitId(String), followed by
trigger(). |
getName, isSupportedIBuild trigger()
IBuild trigger(String commitId)
setCommitId(String), followed by
trigger().void setCommitId(String commitId)
commitId - the specific hexadecimal commit ID associated with a SCM log levelString getCommitId()
void addBuildCause(String cause)
cause - the description to add to the list of causes for this requestList<String> getBuildCauses()
Copyright © 2020 Red Hat, Inc. All Rights Reserved.