Skip to content

Commit

Permalink
test: try master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinab25 committed Jul 3, 2024
1 parent 539c509 commit d525d58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ 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"""
sh """make develop"""
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" """

Expand Down

0 comments on commit d525d58

Please sign in to comment.