Lets suppose we have our code in github in a public repository and we want that every fix which goes to "deployment" branch should get propagated to a dev environment automatically.In order to get this set up working we would need to do:
1.) Configure Jenkins with gitHub and deployIt Plugin.
2.) Configure application placeholder and environment (including infrastructure) in which deployment would take place in DeployIt.
How to configure DeployIt?
First lets get the deployIt server up and create application and environment in it.
As per deployIt model, an application is a deployable which gets deployed into an environment (container). So we need application and the environment (comprising of infrastructure and properties files called as dictionaries)
Steps to follow the process of continuous delivery deployment:
1.) Log into deployIt Server with admin privileges.
2.) Go to the Repository Tab -> Right click on Applications and select new -> Application
Create a new application with name for example TaskMaster (This name would be used in the Jenkins deployIt plugin)
3.) Create Infrastructure: Point to a local tomcat instance, and name it "tomcat-local"
Go to Infrastructure -> New -> Overthere - > Localhost
4.) Define Tomcat using tomcat plugin and configure its path in infrastructure.
Right click on the created infrastructure -> New ->tc->tomcat
we need to give value for home (path to Tomcat): /Users/xebia/apache-tomcat-7.0.42
5.) Create Environment: Using this Infrastructure make a new environment.
Name this Environment as Tomcat-Local and add the Infrastructure just created in it, and also add any dictionary (properties file)
Last step would be to check the connection with the server, and make sure everything is configured properly.