jenkinsci / seed-plugin

Seed Jenkins plug-in
https://plugins.jenkins.io/seed/
38 stars 13 forks source link

Stop injecting Global Passwords, use Credential Bindings instead #37

Open DavidCADanneels opened 5 years ago

DavidCADanneels commented 5 years ago

Injection of Global Passwords is evil and no longer needed. Instead we can include Credentials Bindings in the config of the Generator jobs:

                    pipelineGenerationExtension '''
wrappers {
  credentialsBinding {
    usernamePassword('USER', 'PASSWORD', 'CREDENTIALID')
  }
}
'''

See documentation: https://github.com/jenkinsci/seed-plugin/wiki/Configuration