jenkins-job-builder/tests/wrappers/fixtures/credentials_binding.yaml
Thomas Desvenain dfcce532b4 Added amazon web services to credentials bindings
We can inject access and secret key in environment variables using
Amazon Web Services Credentials plugin.

This allows us to use amazon web service command line client and api
into builders.

Change-Id: I2569cad0e873f2ff80b8b8549c7fcacdf5909ea3
Signed-off-by: Thomas Desvenain <thomas.desvenain@gmail.com>
2016-06-07 11:17:01 +02:00

25 lines
845 B
YAML

wrappers:
- credentials-binding:
- zip-file:
credential-id: b3e6f337-5d44-4f57-921c-1632d796caa6
variable: CONFIG_ZIP
- file:
credential-id: b3e6f337-5d44-4f57-921c-1632d796caab
variable: config_file
- username-password:
credential-id: b3e6f337-5d44-4f57-921c-1632d796caac
variable: config_username_password
- text:
credential-id: b3e6f337-5d44-4f57-921c-1632d796caad
variable: config_text
- credentials-binding:
- username-password-separated:
credential-id: b3e6f337-5d44-4f57-921c-1632d796caae
username: myUsername
password: myPassword
- credentials-binding:
- amazon-web-services:
credential-id: b3e6f337-5d44-4f57-921c-1632d796caaf
access-key: AWS_ACCESS_KEY_ID
secret-key: AWS_SECRET_ACCESS_KEY