Aws Codepipeline Plugin For Jenkins banner
awslabs awslabs

Aws Codepipeline Plugin For Jenkins

DevOps community

Description

Use this plugin to integrate your Jenkins project with a pipeline in AWS CodePipeline. For more information and step-by-step directions on how to install and configure this plugin, follow the Four Stage Pipeline Tutorial. http://docs.aws.amazon.com/codepipeline/latest/userguide/getting-started-4.html

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

AWS CodePipeline Jenkins Plugin

The AWS CodePipeline plugin for Jenkins provides a pre-build SCM and a post-build (publisher) step for your Jenkins project. It will poll for AWS CodePipeline jobs, and download input artifacts. When a build succeeds, it will compress the build artifacts and upload them to AWS CodePipeline.

[![Build Status](https://ci.jenkins.io/buildStatus/icon?job=Plugins/aws-codepipeline-plugin/master)](https://ci.jenkins.io/job/Plugins/job/aws-codepipeline-plugin/job/master/) [![Changelog](https://img.shields.io/github/release/awslabs/aws-codepipeline-plugin-for-jenkins.svg?label=changelog)](https://github.com/awslabs/aws-codepipeline-plugin-for-jenkins/releases/latest) [![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/aws-codepipeline.svg)](https://plugins.jenkins.io/aws-codepipeline-plugin)

Set up

Configure a build server running Jenkins. For your build server, it is recommended to create an Amazon EC2 instance running Jenkins.

Note: As a best practice, configure an EC2 instance profile rather than using AWS access and secret keys for your server applications. For more information, see [https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-four-stage-pipeline.html#tutorials-four-stage-pipeline-prerequisites-jenkins-iam-role](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-four-stage-pipeline.html#tutorials-four-stage-pipeline-prerequisites-jenkins-iam-role).

Configure build project

  1. Install the AWS CodePipeline plugin.
  2. Open your project configuration, or create a new project.
  3. In the Source Code Management section, select AWS CodePipeline.
    • Fill out the required fields.
  4. In the Build Trigger section, select Poll SCM.
    • Define a schedule using cron syntax.
  5. Configure your build step as you normally would.
  6. In the Post-build Actions section, add AWS CodePipeline Publisher.
    • Configure any output artifacts (see below).

AWS CodePi