Jenkins EC2 Deployment Dashboard
This plugin was developed to help managing the deployment of software artifacts to different environments easily. You configure an artifact repository (like Artifactory or Nexus) and your Amazon EC2 deployment servers. The plugin manages the deployed versions of any artifact from your repository to your server environments (i.e. DEV, TEST, PROD). The plugin works with Amazon EC2 instances.
For more details on how to use the plugin see our documentation.
Feel free to use the plugin and get in contact with us in case you have questions or suggestions.
Building the plugin yourself
The plugin was constructed with the maven goal hpi:create, which generates a basic Jenkins plugin skeleton. To build the plugin yourself follow these steps:
- Check out the repository
- Run mvn hpi:run. This will start Jenkins with the plugin already installed and ready to use.
- Open jenkins http://localhost:8080/jenkins
Testing the plugin
For testing the integration of the plugin with Artifactory or Nexus simply use Docker to startup a container.
- Artifactory docker run -p 8082:8080 --name artifactory mattgruter/artifactory
- Open Artifactory: http://localhost:8082
- Nexus docker run -d -p 8081:8081 --name nexus sonatype/nexus
- Open Nexus: http://localhost:8081
Release the plugin
mvn release:prepare release:perform -Dusername=<username> -Dpassword=<password>
You can also provide the credentials via your maven settings.xml. See https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>maven.jenkins-ci.org</id> <!-- For parent 1.397 or newer; before this use id java.net-m2-repository --> <username>...</username> <password>...</password> </server> </servers> </settings>
- Miel Donkers
- Marcel Birkner
- Andreas Houben
- Christian Langmann