Need to trigger 3 times to see only two builds in history

This commit is contained in:
Benjamin Muschko
2020-01-12 17:29:19 -07:00
parent e31724221e
commit fd0f7cb980

View File

@@ -8,7 +8,7 @@ In this exercise, you will create a new freestyle job and configure it to build
2. Enter the item name `my-freestyle-job` and select "Freestyle project". Press the "OK" button.
3. In the job configuration, define the option to only keep the last 2 builds. Provide the description "A simple freestyle job". Upon building the project, a String parameter named `MESSAGE` should be provided. Press the "Save" button.
4. Trigger a new build by pressing the "Build with Parameters" button. Enter a value for the `MESSAGE` parameter. The build should finish successfully. Locate the provided parameter value in the build information.
5. Run the build two more times. What do you see?
5. Run the build three more times. What do you see?
6. Create a new view named `test`. Add the job to the view.
7. Create a new folder named `freestyle` as part of the view. Move the job into the folder.
8. Locate the build information in `$JENKINS_HOME`. Inspect the directory structure.