Browse Source

Add files for 03_07

03_07
Michael Jenkins 4 years ago
parent
commit
238d0209f0
3 changed files with 10 additions and 6 deletions
  1. +8
    -4
      03_07.md
  2. +1
    -1
      MAC_LINUX_DOCKER.md
  3. +1
    -1
      WINDOWS.md

03_06.md → 03_07.md View File

@ -1,4 +1,4 @@
# Learning Jenkins, 03-06: Choice Parameters
# Learning Jenkins, 03-07: Boolean Parameters
Create a freestyle job with one build step. Create a freestyle job with one build step.
# WINDOWS SYSTEMS # WINDOWS SYSTEMS
@ -7,8 +7,6 @@ If you are running Jenkins on a Windows system:
1. Select the `Execute Windows batch command` build step 1. Select the `Execute Windows batch command` build step
2. Enter the following for the command: 2. Enter the following for the command:
``` ```
@echo off
@echo ENVIRONMENT = %ENVIRONMENT%
``` ```
[Follow this link for more details on Windows](WINDOWS.md) [Follow this link for more details on Windows](WINDOWS.md)
@ -20,7 +18,13 @@ If you are running Jenkins on MacOS, Linux, or Docker:
2. Enter the following for the command: 2. Enter the following for the command:
``` ```
#!/bin/bash #!/bin/bash
echo "ENVIRONMENT = $ENVIRONMENT"
echo "RUN_TESTS = $RUN_TESTS"
if [ "$RUN_TESTS" = "true" ];
then
echo "RUNNING TESTS!";
else
echo "No tests will be run...";
fi
``` ```
[Follow this link for more details on MacOS, Linux, and Docker](MAC_LINUX_DOCKER.md) [Follow this link for more details on MacOS, Linux, and Docker](MAC_LINUX_DOCKER.md)

+ 1
- 1
MAC_LINUX_DOCKER.md View File

@ -1,4 +1,4 @@
# Learning Jenkins, 03-06: Choice Parameters
# Learning Jenkins, 03-07: Boolean Parameters
Create a freestyle job with one build step. Create a freestyle job with one build step.
# MacOS, Linux, and Docker # MacOS, Linux, and Docker


+ 1
- 1
WINDOWS.md View File

@ -1,4 +1,4 @@
# Learning Jenkins, 03-06: Choice Parameters
# Learning Jenkins, 03-07: Boolean Parameters
Create a freestyle job with one build step. Create a freestyle job with one build step.
# WINDOWS SYSTEMS # WINDOWS SYSTEMS


Loading…
Cancel
Save