Last active
December 21, 2021 19:14
-
-
Save nickboldt/1a296d4b56b5ff7b04500192bfe463fa to your computer and use it in GitHub Desktop.
check kerb ticket then load a fresh ticket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// testing hack 1919 / 1626 for x86_64-rhel8-dyn nodes | |
withCredentials([file(credentialsId: 'crw_crw-build-keytab', variable: 'CRW_KEYTAB')]) { | |
sh(''' | |
klist | |
''') | |
sh('curl -sSLO https://raw.githubusercontent.com/redhat-developer/codeready-workspaces/' + MIDSTM_BRANCH + '/product/util.groovy') | |
def util1 = load "${WORKSPACE}/util.groovy" | |
util1.kinit(true) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment