Skip to content

Jenkins plugin to have a bird's eye view of your continuous deployment pipeline

License

Notifications You must be signed in to change notification settings

webdizz/deployment-sphere-plugin

Repository files navigation

Deployment Sphere

Jenkins plugin to have a bird's eye view of your continuous deployment pipeline.

Status

Build Status Bitdeli Badge

Development

Dev Environment Requirements:

  1. Java 1.7
  2. Eclipse
  3. Git
  4. Gradle
  5. Lombok

Development cycle:

  1. Сlone repository on your Computer, go there and run bash ./gradlew :pl:build
  2. Then run bash ./gradlew :pl:server. By default Jetty will run on http://localhost:8080/.

Add deployment-sphere-plugin to eclipse:

  1. Install in IDE lombok.
  2. From Eclipse Marketplace install Gradle IDE.
  3. Before adding project into IDE go to deployment-sphere-plugin and run bash ./gradlew :pl:build.
  4. In IDE go to Import -> Gradle-> Gradle Project, select directory with project and click Build Model. After that just add it into IDE.

Install plugin on Jenkins local mode:

  1. Go to Jenkins dashboard. On the menu to the left, pick up Manage Jenkins option.
  2. Select Manage plugins.
  3. Install dependency plugins H2 Database Plugin.
  4. Goto Advanced tab and use Upload plugin feature.

Building

To build the plugin from source:

./gradlew :pl:build

To run Jenkins and test JPI:

./gradlew :pl:server

Build job-dsl.hpi to be installed in Jenkins:

./gradlew :pl:jpi

Usage

Install plugin on Jenkins from Jenkins Plugins:

  1. Go to Jenkins dashboard. On the menu to the left, pick up Manage Jenkins option.
  2. Select Manage plugins.
  3. Install dependency plugins H2 Database Plugin.
  4. Install Deployment Sphere Plugin.

Jenkins configuration initial jobs:

  1. Go to Manage plugins->Configure System.
  • Navigate to Deployment Sphere configuration section;
  • Add environments you're working with;
  • Add applications names you're working with.
  1. Create build project.
  • After configuration of build navigate to Add post-build action and select Collect Build metadata;
  • Select "Application Name" this project is responsible to build;
  • Modify "Build version Pattern" if your versioning strategy is different by specifying your pattern;
  • Save project.
  1. Create deploy project.
  • After configuration of deployment navigate to Add post-build action and select Collect Deploy metadata;
  • Select application this project is responsible to deploy;
  • Save project.

About

Jenkins plugin to have a bird's eye view of your continuous deployment pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages