|
|
|
@ -1,4 +1,4 @@ |
|
|
|
# Learning Jenkins, 03-05: String Parameters |
|
|
|
# Learning Jenkins, 03-06: String Parameters |
|
|
|
Create a freestyle job with one build step. |
|
|
|
|
|
|
|
# WINDOWS SYSTEMS |
|
|
|
@ -8,7 +8,7 @@ If you are running Jenkins on a Windows system: |
|
|
|
2. Enter the following for the command: |
|
|
|
``` |
|
|
|
@echo off |
|
|
|
@echo VERSION_NUMBER = %VERSION_NUMBER% |
|
|
|
@echo ENVIRONMENT = %ENVIRONMENT% |
|
|
|
``` |
|
|
|
|
|
|
|
[Follow this link for more details on Windows](WINDOWS.md) |
|
|
|
@ -20,7 +20,7 @@ If you are running Jenkins on MacOS, Linux, or Docker: |
|
|
|
2. Enter the following for the command: |
|
|
|
``` |
|
|
|
#!/bin/bash |
|
|
|
echo "VERSION_NUMBER = $VERSION_NUMBER" |
|
|
|
echo "ENVIRONMENT = $ENVIRONMENT" |
|
|
|
``` |
|
|
|
|
|
|
|
[Follow this link for more details on MacOS, Linux, and Docker](MAC_LINUX_DOCKER.md) |