diff options
author | Matt Rendina <rendinam@users.noreply.github.com> | 2019-07-26 16:31:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-26 16:31:44 -0400 |
commit | ca06f63b7243683100ca336751c09624bb3329dc (patch) | |
tree | df5f48c5a79ff21796290ef21eaaa272db5bab29 | |
parent | 3df6bdd59d41375290991963df25583a84e7db65 (diff) | |
download | jscu_refactor-ca06f63b7243683100ca336751c09624bb3329dc.tar.gz |
Add jobconfig.credentials example
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,11 @@ if (utils.scm_checkout()) return // these settings to the job's execution. jobconfig = new JobConfig() jobconfig.post_test_summary = true +// 'credentials' example +// To make an environment variable +// NOTE: This requires server-side configuration on the Jenkins instance hosting the builds. +// Contact a Jenkins administrator to add secrets to the credentials store. +jobconfig.credentials = ['SECRET_VALUE_AS_ENV_VAR'] // Config data to share between builds. |