public abstract class CloudBuildSource extends hudson.model.AbstractDescribableImpl<CloudBuildSource> implements hudson.ExtensionPoint, Serializable
| Modifier and Type | Field and Description |
|---|---|
static CloudBuildSource |
NULL |
| Constructor and Description |
|---|
CloudBuildSource() |
| Modifier and Type | Method and Description |
|---|---|
CloudBuildSourceDescriptor |
getDescriptor() |
abstract com.google.api.services.cloudbuild.v1.model.Source |
prepare(BuildContext context,
ClientFactory clients)
Prepares the source and returns the
Source object to be used for the build request. |
public static final CloudBuildSource NULL
public abstract com.google.api.services.cloudbuild.v1.model.Source prepare(BuildContext context, ClientFactory clients) throws IOException, InterruptedException
Source object to be used for the build request.context - the context of the currently running Jenkins buildclients - the factory to use for accessing Google Cloud servicesSource to attach to the build requestIOException - if an I/O error occurs while preparing the sourceInterruptedException - if an operation involving communicating with another Jenkins node
is interruptedpublic CloudBuildSourceDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<CloudBuildSource>getDescriptor in class hudson.model.AbstractDescribableImpl<CloudBuildSource>Copyright © 2017–2021 Google. All rights reserved.