This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit c7a17f577a03059da35c60d02c9ea9b0005f7cbb Author: Benoit Tellier <[email protected]> AuthorDate: Thu Sep 12 09:43:57 2019 +0700 JAMES-2477 Allow passing extra arguments to deployment tests Then we can use maven batch mode to avoid filling logs with progress bars within deployment tests on the CI --- dockerfiles/compilation/java-8/integration_tests.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dockerfiles/compilation/java-8/integration_tests.sh b/dockerfiles/compilation/java-8/integration_tests.sh index c2a310c..1b2d71d 100755 --- a/dockerfiles/compilation/java-8/integration_tests.sh +++ b/dockerfiles/compilation/java-8/integration_tests.sh @@ -7,6 +7,9 @@ printUsage() { echo " JAMES_IMAP_PORT: Exposed IMAP port of this James server" echo " JAMES_SMTP_PORT: Exposed SMTP port of this James server" echo " SHA1(optional): Branch to build or master if none" + echo "" + echo "Environment:" + echo " - MVN_ADDITIONAL_ARG_LINE: Allow passing additional command arguments to the maven command" exit 1 } @@ -63,5 +66,5 @@ git clone $ORIGIN/. git checkout $SHA1 -mvn -T 1C -DskipTests -pl org.apache.james:apache-james-mpt-external-james -am install -mvn -T 1C -pl org.apache.james:apache-james-mpt-external-james test -Pintegration-tests +mvn -T 1C -DskipTests -pl org.apache.james:apache-james-mpt-external-james -am install ${MVN_ADDITIONAL_ARG_LINE} +mvn -T 1C -pl org.apache.james:apache-james-mpt-external-james test -Pintegration-tests ${MVN_ADDITIONAL_ARG_LINE} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
