Jenkins plugin to have a bird's eye view of your continuous deployment pipeline.
- Сlone repository on your Computer, go there and run
bash ./gradlew :pl:build
- Then run
bash ./gradlew :pl:server
. By default Jetty will run on http://localhost:8080/.
- Install in IDE lombok.
- From Eclipse Marketplace install Gradle IDE.
- Before adding project into IDE go to
deployment-sphere-plugin
and runbash ./gradlew :pl:build
. - In IDE go to
Import -> Gradle-> Gradle Project
, select directory with project and clickBuild Model
. After that just add it into IDE.
- Go to Jenkins dashboard. On the menu to the left, pick up
Manage Jenkins
option. - Select
Manage plugins
. - Install dependency plugins
H2 Database Plugin
. - Goto
Advanced
tab and useUpload plugin
feature.
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
Install plugin on Jenkins from Jenkins Plugins:
- Go to Jenkins dashboard. On the menu to the left, pick up
Manage Jenkins
option. - Select
Manage plugins
. - Install dependency plugins
H2 Database Plugin
. - Install
Deployment Sphere Plugin
.
- 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.
- Create build project.
- After configuration of build navigate to
Add post-build action
and selectCollect 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.
- Create deploy project.
- After configuration of deployment navigate to
Add post-build action
and selectCollect Deploy metadata
; - Select application this project is responsible to deploy;
- Save project.