Browse Source

Update docs for the windows scripts

03_07
Michael Jenkins 4 years ago
parent
commit
8d7717fde6
2 changed files with 14 additions and 2 deletions
  1. +7
    -0
      03_07.md
  2. +7
    -2
      WINDOWS.md

+ 7
- 0
03_07.md View File

@ -7,6 +7,13 @@ 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 "RUN_TESTS = %RUN_TESTS%"
if "%RUN_TESTS%"=="true" (
echo "RUNNING TESTS!"
) else (
echo "No tests will be run"
)
``` ```
[Follow this link for more details on Windows](WINDOWS.md) [Follow this link for more details on Windows](WINDOWS.md)


+ 7
- 2
WINDOWS.md View File

@ -7,8 +7,13 @@ 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%
@echo OFF
echo "RUN_TESTS = %RUN_TESTS%"
IF "%RUN_TESTS%"=="true" (
ECHO "RUNNING TESTS!"
) ELSE (
ECHO "No tests will be run"
)
``` ```
# Troubleshooting Errors # Troubleshooting Errors


Loading…
Cancel
Save