Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update testApp.sh #226

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/testApp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ set -euxo pipefail

# LMP 3.0+ goals are listed here: https://github.com/OpenLiberty/ci.maven#goals

export CI=false
mvn -ntp clean process-resources

## Rebuild the application
# package - Take the compiled code and package it in its distributable format.
# liberty:create - Create a Liberty server.
# liberty:install-feature - Install a feature packaged as a Subsystem Archive (esa) to the Liberty runtime.
# liberty:deploy - Copy applications to the Liberty server's dropins or apps directory.
export CI=false
mvn -ntp -Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
-q clean package liberty:create liberty:install-feature liberty:deploy
-q package liberty:create liberty:install-feature liberty:deploy

## Run the tests
# These commands are separated because if one of the commands fail, the test script will fail and exit.
Expand Down
Loading