OpenshiftAliases.

OpenshiftLogin(ICakeContext, string, string) Method

Summary

Logins to Openshift using username and password.
Assembly
Cake.Openshift.dll
Namespace
Cake.Openshift
Containing Type
OpenshiftAliases

Syntax

public static void OpenshiftLogin(this ICakeContext context, string username, string password)

Examples

Cake task:
 Task("Openshift-Login-With-Username-And-Password")
         .Does(() =>
         {
             var username = "admin";
             var password = "Password1";

             OpenshiftLogin(username, password);
         });

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
username string The username.
password string The password.

Return Value

Type Description
void