Cake.Openshift

A set of aliases for Cake to help with running Openshift commands

#addin nuget:?package=Cake.Openshift&version=0.5.0

dotnet add package Cake.Openshift --version 0.5.0

<PackageReference Include="Cake.Openshift" Version="0.5.0" />

Aliases

Contains functionality related to running openshift cli commands.

In order to use the commands for this alias, include the following in your build.cake file to download and install from NuGet.org, or specify the ToolPath within the OpenshiftSettings class:

#tool "nuget:?package=Openshift"

Build

OpenshiftDelete(OpenshiftDeleterSettings) Deletes an openshift resource.
OpenshiftStartBuild(string, OpenshiftBuildStarterSettings) Starts a new openshift build for the provided build config with additional options.
OpenshiftStartBuild(string) Starts a new openshift build for the provided build config.

Login

OpenshiftLogin(string, string) Logins to Openshift using username and password.
OpenshiftLogin(string) Logins to Openshift using Bearer token.