From d525d58c736422d07006bc01aaff996bc8ccb7f6 Mon Sep 17 00:00:00 2001 From: valentinab25 Date: Wed, 3 Jul 2024 12:28:56 +0300 Subject: [PATCH] test: try master branch --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ce17f9b..ee37d16 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,7 +51,7 @@ pipeline { sh """make install""" sh """make build""" sh """set -o pipefail; yarn bundlewatch --config .bundlewatch.config.json 2>&1 | tee checkresult.txt""" - sh """export NEW_SIZE=$(du build/public/static/js/ | awk '{print $1}')""" + sh """export NEW_SIZE=`du build/public/static/js/ | awk '{print $1}'`""" sh """cat mrs.developer.json | jq '.[].branch="master"' > temp""" sh """mv temp mrs.developer.json""" sh """yarn""" @@ -59,7 +59,7 @@ pipeline { sh """make install""" sh """make build""" sh """set -o pipefail; yarn bundlewatch --config .bundlewatch.config.json 2>&1 | tee checkresult2.txt""" - sh """export OLD_SIZE=$(du build/public/static/js/ | awk '{print $1}')""" + sh """export OLD_SIZE=`du build/public/static/js/ | awk '{print $1}'`""" sh """diff checkresult.txt checkresult2.txt""" sh """echo "$NEW_SIZE $OLD_SIZE" """