Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
duylam-katalon committed Nov 27, 2024
1 parent bd0cc74 commit 701412a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ package_download_url=https://$PACKAGE_DOMAIN/$katalon_studio_version/$katalon_pa
# per the above statement is correct. To keep the build working for both pipelines,
# the following code is added to check the file existing as extra step
#
set +e
wget --spider -q $package_download_url
if [ $? -ne 0 ]; then
if [ "$IS_PRODUCTION" == "true" ]; then
Expand All @@ -51,6 +52,7 @@ if [ $? -ne 0 ]; then
package_download_url=https://download.katalon.com/$katalon_studio_version/$katalon_package
fi
fi
set -e

# general link
wget -O $katalon_package $package_download_url
Expand Down

0 comments on commit 701412a

Please sign in to comment.