Skip to content

Commit 239443f

Browse files
committed
chore: comment out cleanup trap in build_and_run_app.sh for debugging purposes
1 parent f8a7803 commit 239443f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_and_run_app.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ cleanup() {
1313
}
1414

1515
# Trap the EXIT signal to perform cleanup
16-
trap cleanup EXIT
16+
# trap cleanup EXIT
1717

1818
set -e # Exit immediately if a command exits with a non-zero status.
1919
mvn clean package -Dmaven.test.skip=true
20-
docker run -d -p 6379:6379 --name redis_container redis
20+
docker run -d -p 6379:6379 --name redis_container redis || true
2121
java $SEARCH_FEATURE -jar target/salesmanager-*-SNAPSHOT.jar --spring.redis.host=localhost --spring.redis.port=6379 --spring.redis.mode=standalone --server.port=8086 --spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect

0 commit comments

Comments
 (0)