Compare commits
3 Commits
training-2
...
training-2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c2808ac61 | ||
|
|
95810e5df8 | ||
|
|
a691367c4d |
11
README.md
11
README.md
@@ -10,4 +10,13 @@ All exercises in this repository practice a self-contained portion of the [CJE c
|
||||
|
||||
## Exercises
|
||||
|
||||
All [exercises](./exercises) are numbered and live in dedicated directories starting with the name `exercise-`. You'll find instructions for each exercise in each folder. Solutions are available in the `solution` folder. Try to solve each exercise yourself before having a look at the solution.
|
||||
All [exercises](./exercises) are numbered and live in dedicated directories starting with the name `exercise-`. You'll find instructions for each exercise in each folder. Solutions are available in the `solution` folder. Try to solve each exercise yourself before having a look at the solution.
|
||||
|
||||
## Additional Resources
|
||||
|
||||
* [CloudBees certification information](https://www.cloudbees.com/jenkins/certification)
|
||||
* [Certified Jenkins Engineer (CJE) 2018 study guide](https://www.previous.cloudbees.com/sites/default/files/cje-study-guide-2018.pdf)
|
||||
* [CJE video training by CloudBees University](https://standard.cbu.cloudbees.com/series/certified-jenkins-engineer-exam-prep)
|
||||
* [CJE video training and practice test by Linux Academy](https://linuxacademy.com/course/learn-jenkins-by-doing/)
|
||||
* [Best practices for writing Jenkins shared libraries](https://bmuschko.com/blog/jenkins-shared-libraries/)
|
||||
* [Step by step instructions on how to use the Jenkins Kubernetes plugin for different use cases](https://github.com/bmuschko/jenkins-with-kubernetes)
|
||||
@@ -1,10 +1,10 @@
|
||||
# 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.
|
||||
In this exercise, you will create a new job that pulls the source code from a [repository on GitHub](https://github.com/bmuschko/gradle-initializr) named Gradle Initializr. Upon triggering a build, the job will execute a Gradle build.
|
||||
|
||||
## Configuring a GitHub Repository
|
||||
|
||||
1. Create a new freestyle job named `gradle-initializr`.
|
||||
2. Configure Git as the SCM and use the repository URL `git@github.com:bmuschko/gradle-initializr.git`. Only build from the branch `master`.
|
||||
2. Configure Git as the SCM and use the repository URL `https://github.com/bmuschko/gradle-initializr.git`. Only build from the branch `master`.
|
||||
3. Add a build step to run the Gradle command `clean build` using the Wrapper.
|
||||
4. Trigger a build and look at the output.
|
||||
Reference in New Issue
Block a user