Minor corrections

This commit is contained in:
Benjamin Muschko
2019-08-09 17:25:52 -06:00
parent 31ca9ff3c7
commit 3196abca24
4 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
1. Add a default value for the build parameter named `MESSAGE` e.g. `Hello World!`.
2. Create a build trigger that builds the project every minute.
3. Add a build step that executes the shell command `echo 'Message: $MESSAGE'`. The message is value of the parameter.
3. Add a build step that executes the shell command `echo "Message: $MESSAGE"`. The message is value of the parameter.
4. After a minute the first execution should have been triggered. Check the log output of the build and find the rendered message.
5. Create another freestyle project named `downstream-job` in the same folder.
6. Configure the initial job to execute the `downstream-job` if it was stable.
@@ -27,7 +27,7 @@ Started by timer
Running as SYSTEM
Building in workspace /Users/bmuschko/.jenkins/workspace/freestyle/my-freestyle-job
[my-freestyle-job] $ /bin/sh -xe /var/folders/02/3dgzjkqj4kz0g7lnrk0w93c00000gn/T/jenkins3548490840940668236.sh
+ echo 'Message: Hello World!'
+ echo "Message: Hello World!"
Message: Hello World!
Finished: SUCCESS
```