Created
April 4, 2019 15:38
-
-
Save baumato/63da5e00cde43a1c6d384cbd4aa2ae20 to your computer and use it in GitHub Desktop.
Jenkinsfile: Use environment to read credentials
This file contains hidden or 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
pipeline { | |
environment { | |
ARTIFACTORY_TOKEN = credentials('Artifactory_Jenkins_Token') | |
} | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment