Skip to content

Commit

Permalink
Merge pull request #129 from OpenLiberty/staging
Browse files Browse the repository at this point in the history
Merge staging to prod - adding -ntp to maven (#122)
  • Loading branch information
gkwan-ibm authored Feb 24, 2023
2 parents f0b224b + 12429bd commit c4e4785
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/testApp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ set -euxo pipefail
# 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.
mvn -Dhttp.keepAlive=false \
mvn -ntp -Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
-q clean install

cd ear
mvn -Dhttp.keepAlive=false \
mvn -ntp -Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
liberty:create liberty:install-feature liberty:deploy
Expand All @@ -32,6 +32,6 @@ mvn -Dhttp.keepAlive=false \
# failsafe:integration-test - Runs the integration tests of an application.
# liberty:stop - Stop a Liberty server.
# failsafe:verify - Verifies that the integration tests of an application passed.
mvn liberty:start
mvn failsafe:integration-test liberty:stop
mvn failsafe:verify
mvn -ntp liberty:start
mvn -ntp failsafe:integration-test liberty:stop
mvn -ntp failsafe:verify

0 comments on commit c4e4785

Please sign in to comment.