dfcce532b4
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>
36 lines
2.1 KiB
XML
36 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<buildWrappers>
|
|
<org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper>
|
|
<bindings>
|
|
<org.jenkinsci.plugins.credentialsbinding.impl.ZipFileBinding>
|
|
<variable>CONFIG_ZIP</variable>
|
|
<credentialsId>b3e6f337-5d44-4f57-921c-1632d796caa6</credentialsId>
|
|
</org.jenkinsci.plugins.credentialsbinding.impl.ZipFileBinding>
|
|
<org.jenkinsci.plugins.credentialsbinding.impl.FileBinding>
|
|
<variable>config_file</variable>
|
|
<credentialsId>b3e6f337-5d44-4f57-921c-1632d796caab</credentialsId>
|
|
</org.jenkinsci.plugins.credentialsbinding.impl.FileBinding>
|
|
<org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordBinding>
|
|
<variable>config_username_password</variable>
|
|
<credentialsId>b3e6f337-5d44-4f57-921c-1632d796caac</credentialsId>
|
|
</org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordBinding>
|
|
<org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
|
|
<variable>config_text</variable>
|
|
<credentialsId>b3e6f337-5d44-4f57-921c-1632d796caad</credentialsId>
|
|
</org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
|
|
<org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordMultiBinding>
|
|
<usernameVariable>myUsername</usernameVariable>
|
|
<passwordVariable>myPassword</passwordVariable>
|
|
<credentialsId>b3e6f337-5d44-4f57-921c-1632d796caae</credentialsId>
|
|
</org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordMultiBinding>
|
|
<com.cloudbees.jenkins.plugins.awscredentials.AmazonWebServicesCredentialsBinding>
|
|
<accessKeyVariable>AWS_ACCESS_KEY_ID</accessKeyVariable>
|
|
<secretKeyVariable>AWS_SECRET_ACCESS_KEY</secretKeyVariable>
|
|
<credentialsId>b3e6f337-5d44-4f57-921c-1632d796caaf</credentialsId>
|
|
</com.cloudbees.jenkins.plugins.awscredentials.AmazonWebServicesCredentialsBinding>
|
|
</bindings>
|
|
</org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper>
|
|
</buildWrappers>
|
|
</project>
|