explicitly call gradlew build
This commit is contained in:
parent
086fb11436
commit
e8c4946111
@ -1,8 +1,7 @@
|
||||
#!/bin/bash
|
||||
# waits for commits on any branch on origin, checks it out and builds it
|
||||
|
||||
# Configuration: Set the remote repository name and check interval
|
||||
BUILD_CMD="gw-test" # Placeholder for the build command
|
||||
. .aliases
|
||||
|
||||
while true; do
|
||||
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"
|
||||
|
||||
echo "building ..."
|
||||
eval "$BUILD_CMD"
|
||||
./gradlew test
|
||||
fi
|
||||
|
||||
# wait 10s with a little animation
|
||||
|
Loading…
Reference in New Issue
Block a user