explicitly call gradlew build

This commit is contained in:
Michael Hoennig 2024-09-26 14:12:03 +02:00
parent 086fb11436
commit e8c4946111

View File

@ -1,8 +1,7 @@
#!/bin/bash #!/bin/bash
# waits for commits on any branch on origin, checks it out and builds it # waits for commits on any branch on origin, checks it out and builds it
# Configuration: Set the remote repository name and check interval . .aliases
BUILD_CMD="gw-test" # Placeholder for the build command
while true; do while true; do
echo "Checking for new commits on any branch ..." echo "Checking for new commits on any branch ..."
@ -15,7 +14,7 @@ while true; do
git checkout -b "$branch_with_new_commits" "origin/$branch_with_new_commits" git checkout -b "$branch_with_new_commits" "origin/$branch_with_new_commits"
echo "building ..." echo "building ..."
eval "$BUILD_CMD" ./gradlew test
fi fi
# wait 10s with a little animation # wait 10s with a little animation