Skip to content

Instantly share code, notes, and snippets.

@martinda
Last active November 26, 2018 01:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinda/182a5ea9b9dfc596f0508cd859cd728a to your computer and use it in GitHub Desktop.
Save martinda/182a5ea9b9dfc596f0508cd859cd728a to your computer and use it in GitHub Desktop.
Jenkins configuration as Code Credentials example
jenkins:
# There can be elements here that refer to the credential id below
# Credentials is a root element (do not indent it)
credentials:
system:
domainCredentials:
- credentials:
-usernamePassword:
scope: "SYSTEM"
id: "the-id"
username: "username"
password: "secret"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment