aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2019-07-26 16:31:44 -0400
committerGitHub <noreply@github.com>2019-07-26 16:31:44 -0400
commitca06f63b7243683100ca336751c09624bb3329dc (patch)
treedf5f48c5a79ff21796290ef21eaaa272db5bab29
parent3df6bdd59d41375290991963df25583a84e7db65 (diff)
downloadjscu_refactor-ca06f63b7243683100ca336751c09624bb3329dc.tar.gz
Add jobconfig.credentials example
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6f80184..1aa1be0 100644
--- a/README.md
+++ b/README.md
@@ -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.