Giter VIP home page Giter VIP logo

kmenon95 / aws-codepipeline-plugin-for-jenkins Goto Github PK

View Code? Open in Web Editor NEW

This project forked from awslabs/aws-codepipeline-plugin-for-jenkins

0.0 0.0 0.0 85.58 MB

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

License: Apache License 2.0

Java 97.73% HTML 2.22% Shell 0.06%

aws-codepipeline-plugin-for-jenkins's Introduction

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 Changelog Jenkins Plugin Installs

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.

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 CodePipeline Publisher

The publisher can upload zero to five output artifacts.

If you don't need to upload output artifacts, don't add any output locations (but do add AWS CodePipeline Publisher as a Post-build action).

To upload output artifacts, add an output location per artifact:

  • If the location is blank: the whole workspace will be compressed, and uploaded.
  • If the location is a directory: the directory will be compressed, and uploaded.
  • If the location is a normal file: the file will be uploaded as-is (no compression).

Archive format

For blank (workspace) or directory output locations, the plugin will use the same archive format used by the input artifacts. If the input archive type could not be determined, it will default to ZIP.

Supported archive formats:

  • zip
  • tar
  • tar.gz

License

This plugin is open sourced and licensed under Apache 2.0. See the LICENSE file for more information.

aws-codepipeline-plugin-for-jenkins's People

Contributors

bankaws avatar belltimo avatar biagic avatar cplee avatar daniel-beck avatar dependabot[bot] avatar galmeida avatar hyandell avatar jlleitschuh avatar kmenon95 avatar maggiecopyaws avatar schmittthomas avatar shriramsuryaaws avatar wwna avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.