Jenkins Distribution 2.277.1.2-b2

View the Jenkins Distribution release notes and plugin upgrades

Nested Cloudformation Changesets

The latest release of Jenkins includes un updated version of the aws-sdk-java plugin which means we can now take advantage of the Cloudformation nested stacks changesets. To enable this in your Jenkins pipeline add nestedStacks: true to your createChangeSet() pipeline method.

createChangeSet(
    description: env.GIT_COMMIT,
    region: env.AWS_REGION,
    stackName: env.STACK_NAME,
    templateUrl: "${env.TEMPLATE_URL}/0.2.0/template.yaml",
    parameters: [
        'TemplateBucket': env.S3_BUCKET,
        'TemplatePrefix': env.S3_PREFIX
    ],
    capabilities: false,
    awsAccountId: env.OPS_ACCOUNT,
    role: env.ASSUME_ROLE,
    roleArn: env.CFN_ROLE,
    nestedStacks: true
)

Demo Cloudformation changeset pipeline https://github.com/base2Services/demo-cloudformation-changeset

Base2 Plugin Updates

New

Updated