532 B
532 B
Exercise 4
In this exercise, you will create a new job that pulls the source code from a repository on GitHub. Upon triggering a build, the job will execute a Gradle build.
Configuring a GitHub Repository
- Create a new freestyle job named
gradle-initializr. - Configure Git as the SCM and use the repository URL
git@github.com:bmuschko/gradle-initializr.git. Only build from the branchmaster. - Add a build step to run the Gradle command
clean buildusing the Wrapper. - Trigger a build and look at the output.