Browse Source

Update WINDOWS.md

03_07
Michael 4 years ago
committed by GitHub
parent
commit
379e62235c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 8 deletions
  1. +5
    -8
      WINDOWS.md

+ 5
- 8
WINDOWS.md View File

@ -1,7 +1,7 @@
# Learning Jenkins, 03-07: Boolean Parameters
Create a freestyle job with one build step.
# WINDOWS SYSTEMS
## WINDOWS SYSTEMS
If you are running Jenkins on a Windows system:
1. Select the `Execute Windows batch command` build step
@ -9,12 +9,9 @@ If you are running Jenkins on a Windows system:
```
@echo OFF
echo "RUN_TESTS = %RUN_TESTS%"
IF "%RUN_TESTS%"=="true" (
ECHO "RUNNING TESTS!"
) ELSE (
ECHO "No tests will be run"
if "%RUN_TESTS%"=="true" (
echo "RUNNING TESTS!"
) else (
echo "No tests will be run"
)
```
# Troubleshooting Errors

Loading…
Cancel
Save