Created
August 20, 2020 02:24
-
-
Save lavk7/2a3d1a9cca03632942d4973b20da0220 to your computer and use it in GitHub Desktop.
Jenkins Snippet With Credentials
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
withCredentials([ | |
usernamePassword(credentialsId: argoConfig['credentialsId'], usernameVariable: "ARGO_USR", passwordVariable: "ARGO_PW"), | |
usernamePassword(credentialsId: gitConfig['credentialsId'], usernameVariable: "GIT_USR", passwordVariable: "GIT_PW") | |
]){ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment