diff --git a/build/azure-pipelines/alpine/product-build-alpine.yml b/build/azure-pipelines/alpine/product-build-alpine.yml index 476f30c6f41..500a9166495 100644 --- a/build/azure-pipelines/alpine/product-build-alpine.yml +++ b/build/azure-pipelines/alpine/product-build-alpine.yml @@ -76,7 +76,7 @@ steps: set -e for i in {1..5}; do # try 5 times yarn --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi diff --git a/build/azure-pipelines/darwin/product-build-darwin-cli-sign.yml b/build/azure-pipelines/darwin/product-build-darwin-cli-sign.yml index 80e90a52bac..0f98d9ce853 100644 --- a/build/azure-pipelines/darwin/product-build-darwin-cli-sign.yml +++ b/build/azure-pipelines/darwin/product-build-darwin-cli-sign.yml @@ -37,7 +37,7 @@ steps: set -e for i in {1..5}; do # try 5 times yarn --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi diff --git a/build/azure-pipelines/darwin/product-build-darwin-universal.yml b/build/azure-pipelines/darwin/product-build-darwin-universal.yml index 7632779d42f..5f1dbe04cfc 100644 --- a/build/azure-pipelines/darwin/product-build-darwin-universal.yml +++ b/build/azure-pipelines/darwin/product-build-darwin-universal.yml @@ -40,7 +40,7 @@ steps: set -e for i in {1..5}; do # try 5 times yarn --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi diff --git a/build/azure-pipelines/darwin/product-build-darwin.yml b/build/azure-pipelines/darwin/product-build-darwin.yml index 793833e1db8..dc12a1c4bc8 100644 --- a/build/azure-pipelines/darwin/product-build-darwin.yml +++ b/build/azure-pipelines/darwin/product-build-darwin.yml @@ -93,7 +93,7 @@ steps: for i in {1..5}; do # try 5 times yarn --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi diff --git a/build/azure-pipelines/linux/cli-build-linux.yml b/build/azure-pipelines/linux/cli-build-linux.yml index f3e2ef88b9d..74eb53ce8cf 100644 --- a/build/azure-pipelines/linux/cli-build-linux.yml +++ b/build/azure-pipelines/linux/cli-build-linux.yml @@ -66,7 +66,7 @@ steps: for i in {1..5}; do # try 5 times yarn --cwd build --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi diff --git a/build/azure-pipelines/linux/product-build-linux-legacy-server.yml b/build/azure-pipelines/linux/product-build-linux-legacy-server.yml index b47b2b95300..58f1a416f6e 100644 --- a/build/azure-pipelines/linux/product-build-linux-legacy-server.yml +++ b/build/azure-pipelines/linux/product-build-linux-legacy-server.yml @@ -94,7 +94,7 @@ steps: for i in {1..5}; do # try 5 times yarn --cwd build --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi @@ -106,7 +106,7 @@ steps: for i in {1..5}; do # try 5 times yarn --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi diff --git a/build/azure-pipelines/linux/product-build-linux.yml b/build/azure-pipelines/linux/product-build-linux.yml index ae00e5ffa75..48c907b0ddb 100644 --- a/build/azure-pipelines/linux/product-build-linux.yml +++ b/build/azure-pipelines/linux/product-build-linux.yml @@ -108,7 +108,7 @@ steps: for i in {1..5}; do # try 5 times yarn --cwd build --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi @@ -139,7 +139,7 @@ steps: for i in {1..5}; do # try 5 times yarn --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi diff --git a/build/azure-pipelines/oss/product-build-pr-cache-linux.yml b/build/azure-pipelines/oss/product-build-pr-cache-linux.yml index 9f207f75220..d1494f09a41 100644 --- a/build/azure-pipelines/oss/product-build-pr-cache-linux.yml +++ b/build/azure-pipelines/oss/product-build-pr-cache-linux.yml @@ -52,7 +52,7 @@ steps: set -e for i in {1..5}; do # try 5 times yarn --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi diff --git a/build/azure-pipelines/product-compile.yml b/build/azure-pipelines/product-compile.yml index df5c855e2f8..44fc6cb7531 100644 --- a/build/azure-pipelines/product-compile.yml +++ b/build/azure-pipelines/product-compile.yml @@ -67,7 +67,7 @@ steps: for i in {1..5}; do # try 5 times yarn --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi diff --git a/build/azure-pipelines/web/product-build-web.yml b/build/azure-pipelines/web/product-build-web.yml index 40aa0997faf..3b71506cf0b 100644 --- a/build/azure-pipelines/web/product-build-web.yml +++ b/build/azure-pipelines/web/product-build-web.yml @@ -66,7 +66,7 @@ steps: set -e for i in {1..5}; do # try 5 times yarn --frozen-lockfile --check-files && break - if [ $i -eq 3 ]; then + if [ $i -eq 5 ]; then echo "Yarn failed too many times" >&2 exit 1 fi