Skip to content

Exit with special code when not logged into cluster #225

Description

@michaelsauter

Tailor shells out to oc, and expects a valid session (which is checked via whoami). If there is no valid session, it would be nice if Tailor would exit with a special exit code so that downstream scripts can respond well to this case.

ref opendevstack/ods-jenkins-shared-library#460

FYI @clemensutschig

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions