aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-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.