diff options
-rwxr-xr-x | automated/linux/fwts/fwts.sh | 4 | ||||
-rw-r--r-- | automated/linux/fwts/fwts.yaml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/automated/linux/fwts/fwts.sh b/automated/linux/fwts/fwts.sh index c617e2e0..5f6dcde5 100755 --- a/automated/linux/fwts/fwts.sh +++ b/automated/linux/fwts/fwts.sh @@ -61,7 +61,9 @@ while getopts "h:t:p:u:v:s:" opt; do FWTS_VERSION="$OPTARG" ;; u) - FWTS_URL="$OPTARG" + if [[ "$OPTARG" != '' ]]; then + FWTS_URL="$OPTARG" + fi ;; p) if [[ "$OPTARG" != '' ]]; then diff --git a/automated/linux/fwts/fwts.yaml b/automated/linux/fwts/fwts.yaml index a23e6a66..ab63f3cb 100644 --- a/automated/linux/fwts/fwts.yaml +++ b/automated/linux/fwts/fwts.yaml @@ -53,5 +53,5 @@ params: run: steps: - cd ./automated/linux/fwts/ - - ./fwts.sh -t "${TESTS}" -v "${FWTS_VERSION}" -s "${SKIP_INSTALL}" -p "${FWTS_PATH}" + - ./fwts.sh -t "${TESTS}" -v "${FWTS_VERSION}" -s "${SKIP_INSTALL}" -p "${FWTS_PATH}" -u "${FWTS_URL}" - ../../utils/send-to-lava.sh ./output/result.txt |