OpenshiftAliases.

OpenshiftStartBuild(ICakeContext, string, OpenshiftBuildStarterSettings) Method

Summary

Starts a new openshift build for the provided build config with additional options.
Assembly
Cake.Openshift.dll
Namespace
Cake.Openshift
Containing Type
OpenshiftAliases

Syntax

public static void OpenshiftStartBuild(this ICakeContext context, string buildConfig, OpenshiftBuildStarterSettings settings)

Examples

Cake task:
 Task("Openshift-StartBuild")
         .Does(() =>
         {
             var buildConfig = "hello-world";

             OpenshiftStartBuild(buildConfig, new OpenshiftBuildStarterSettings
             {
                 Follow = true,
                 Wait = true
             });
         });

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
buildConfig string The build config.
settings OpenshiftBuildStarterSettings The settings

Return Value

Type Description
void