Cake.Openshift

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

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

<package id="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(ICakeContext, OpenshiftDeleterSettings) Deletes an openshift resource.
OpenshiftStartBuild(ICakeContext, string) Starts a new openshift build for the provided build config.
OpenshiftStartBuild(ICakeContext, string, OpenshiftBuildStarterSettings) Starts a new openshift build for the provided build config with additional options.

Login

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