Method

FoundryCiProviderrun

unstable since: 1.2

Declaration [src]

DexFuture*
foundry_ci_provider_run (
  FoundryCiProvider* self,
  FoundryCiPipeline* pipeline,
  const char* const* job_ids,
  FoundryCiRunOptions* options
)

Description [src]

Starts a local pipeline run. If job_ids is NULL or empty, the provider runs the jobs selected by its pipeline rules. The run is exposed through the context’s FoundryOperationManager until it completes or is cancelled.

Available since: 1.2

Parameters

pipeline

Type: FoundryCiPipeline

A pipeline created by self.

The data is owned by the caller of the method.
job_ids

Type: An array of char*

Job identifiers, or NULL.

The argument can be NULL.
The array must be NULL-terminated.
The data is owned by the caller of the method.
Each element is a NUL terminated UTF-8 string.
options

Type: FoundryCiRunOptions

Options for the run.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture that resolves to a FoundryCiRun or rejects with error.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.