Commit e0d63ffc by Michael Youngstrom Committed by GitHub

Merge pull request #4121 from edx/youngstrom/support_masked_plugins

jenkins_common support masked plugins config script
parents f4b61ae9 43d43068
......@@ -13,6 +13,7 @@ build_jenkins_configuration_scripts:
- 4configureHipChat.groovy
- 4configureJobConfigHistory.groovy
- 4configureMailerPlugin.groovy
- 4configureMaskPasswords.groovy
- 5addSeedJob.groovy
- 5createLoggers.groovy
......
......@@ -33,6 +33,7 @@ jenkins_common_non_plugin_template_files:
- log_config
- mailer_config
- main_config
- mask_passwords
- properties_config
- security
- seed_config
......@@ -160,3 +161,7 @@ JENKINS_MAILER_REPLY_TO_ADDRESS: 'jenkins'
JENKINS_MAILER_DEFAULT_SUFFIX: '@example.com'
JENKINS_MAILER_SMTP_AUTH_USERNAME: ''
JENKINS_MAILER_SMTP_AUTH_PASSWORD: ''
# mask passwords
JENKINS_MASK_PASSWORDS_CLASSES: []
JENKINS_MASK_PASSWORDS_PAIRS: []
---
MASKED_PARAMETER_CLASSES:
{% for class in JENKINS_MASK_PASSWORDS_CLASSES %}
- '{{ class }}'
{% endfor %}
NAME_PASSWORD_PAIRS:
{% for pair in JENKINS_MASK_PASSWORDS_PAIRS %}
- NAME: '{{ pair.NAME }}'
PASSWORD: '{{ pair.PASSWORD }}'
{% endfor %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment