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 - Jenkins Tutorial
From the course: Learning Jenkins: Automating Software Development and System Administration
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
-
-
-
-
-
(Locked)
Using a global build tool4m 23s
-
(Locked)
Browse a job's workspace1m 45s
-
(Locked)
Manage artifacts2m 19s
-
Parameters and environment variables1m 51s
-
(Locked)
String parameters1m 30s
-
(Locked)
Choice parameters1m 22s
-
(Locked)
Boolean parameters1m 57s
-
(Locked)
Schedule jobs4m 30s
-
(Locked)
Solution: Use a build tool and parameters4m 4s
-
(Locked)
-
-