From the course: Learning Jenkins: Automating Software Development and System Administration

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Solution: Use a build tool and parameters

Solution: Use a build tool and parameters

(upbeat music) - Okay. There's a lot going on in this challenge, and I really had fun with it. I hope you did too. This challenge required us to use tool configurations, set up parameters, and check out code from GitHub to build a calculator app written in Java. Let's review. Before I created my Jenkins job, I had to make sure two tools were in place. Git and Maven. I'm on a non-Windows system, so the default git configuration was already in place. If you solve this challenge on a Window system, you would need to install Git and set up the path here under Git installations, I also added a tool configuration for Maven. I selected the option for automatic installation and then selected the most recent version of Maven. I also used the version number in the name to make it easy to identify this specific version. With the tools in place, I created a freestyle job. I started the job configuration by adding a description and the required parameters. The operation parameter was a choice…

Contents