7de0dc598e
* This plugin gives Jenkins the ability to spawn amazon cloudformation stacks before running the build and stopping it at the end * This change adds cloudformation ability to the builders and the publishers to create stacks and to the publishers to tear the stack down Change-Id: I8041382fc6f1d569c322088a3bc8812332a131e8
32 lines
1.5 KiB
XML
32 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<builders>
|
|
<com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildStep>
|
|
<stacks>
|
|
<com.syncapse.jenkinsci.plugins.awscloudformationwrapper.PostBuildStackBean>
|
|
<stackName>foo</stackName>
|
|
<awsAccessKey>$AWS_ACCESS_KEY</awsAccessKey>
|
|
<awsSecretKey>$AWS_SECRET_KEY</awsSecretKey>
|
|
<awsRegion>US_WEST_Oregon</awsRegion>
|
|
<description>Build the foo stack</description>
|
|
<parameters>Key1=foo,Key2=fuu</parameters>
|
|
<timeout>3600</timeout>
|
|
<sleep>5</sleep>
|
|
<cloudFormationRecipe>foo.json</cloudFormationRecipe>
|
|
</com.syncapse.jenkinsci.plugins.awscloudformationwrapper.PostBuildStackBean>
|
|
<com.syncapse.jenkinsci.plugins.awscloudformationwrapper.PostBuildStackBean>
|
|
<stackName>bar</stackName>
|
|
<awsAccessKey>$AWS_ACCESS_KEY</awsAccessKey>
|
|
<awsSecretKey>$AWS_SECRET_KEY</awsSecretKey>
|
|
<awsRegion>US_WEST_Northern_California</awsRegion>
|
|
<description>Build the bar stack</description>
|
|
<parameters>Key1=bar,Key2=baa</parameters>
|
|
<timeout>3600</timeout>
|
|
<sleep>0</sleep>
|
|
<cloudFormationRecipe>bar.json</cloudFormationRecipe>
|
|
</com.syncapse.jenkinsci.plugins.awscloudformationwrapper.PostBuildStackBean>
|
|
</stacks>
|
|
</com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildStep>
|
|
</builders>
|
|
</project>
|