From c69bf995a4dc276a1804156c8df8f31d93b7adaf Mon Sep 17 00:00:00 2001 From: Spencer Nicholls <57418435+nichollsspencer@users.noreply.github.com> Date: Wed, 1 Dec 2021 09:24:42 -0600 Subject: [PATCH] Delete 03_07.md --- 03_07.md | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 03_07.md diff --git a/03_07.md b/03_07.md deleted file mode 100644 index 9fe4b92..0000000 --- a/03_07.md +++ /dev/null @@ -1,40 +0,0 @@ -# Learning Jenkins, 03-07: Boolean Parameters -Create a freestyle job with one build step. - -Add a boolean parameter called `RUN_TESTS`. - -## WINDOWS SYSTEMS -If you are running Jenkins on a Windows system: - -1. Select the `Execute Windows batch command` build step -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) - -## MacOS, Linux, and Docker -If you are running Jenkins on MacOS, Linux, or Docker: - -1. Select the `Execute shell` build step. -2. Enter the following for the command: -``` -#!/bin/bash -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) -