ClickStart is such a simple way to set up a project but you will probably have to write few of them for your own projects. You can use them to prepare a project skeleton, enforcing all the best practices in development stage when the project is bootstrapped.
Let's create a ClickStart from scratch. We'll illustrate this by setting up a ClickStart for SimpleWeb4J, a lightweight REST-based web framework, which was recently created by my friend, Yan.
First, create a new GitHub repository to host our ClickStart. For simplicity, this one will also host the codebase for the app to be deployed. The project skeleton is basically a maven pom.xml
file and comprises few classes.
Let's then create an adequate Jenkins job to build this project and produce a jar
file with the application ready to be deployed, including all of its dependencies. In the next chapter, we will cover how to use Jenkins to set up a job in more detail; anyway, this isn't a complex task. Now we need to...