You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

439 B

Learning Jenkins, 03-07: Boolean Parameters

Create a freestyle job with one build step.

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

Troubleshooting Errors