You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/06/26 01:08:52 UTC
[james-project] 14/23: JAMES-3603 Fix the 'deployment tests' README
section
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 470ce289bca1476b2c35590e7dbbc07617e1691d
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Wed Jun 23 11:27:31 2021 +0700
JAMES-3603 Fix the 'deployment tests' README section
---
README.adoc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/README.adoc b/README.adoc
index 3a6cf02..c39c02c 100644
--- a/README.adoc
+++ b/README.adoc
@@ -186,13 +186,18 @@ You have to run MPT tests inside docker. As you need to use maven, the simplest
use james/parent image, and override the entry point ( as git and maven are already configured
there ) :
- $ docker run -t --entrypoint="/root/integration_tests.sh" -v $PWD/.m2:/root/.m2 -v $PWD:/origin james/project JAMES_IP JAMES_PORT SHA1
+ $ export JAMES_ADDRESS=127.0.0.1
+ $ export JAMES_IMAP_PORT=143
+ $ export JAMES_SMTP_PORT=25
+
+ $ 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\
Where :
* JAMES_IP: IP address or DNS entry for your James server
-* JAMES_PORT: Port allocated to James' IMAP port (should be 143).
-* SHA1(optional): Branch to use in order to build integration tests or master if none.
+* JAMES_IMAP_PORT: Port allocated to James' IMAP port (should be 143).
+* JAMES_SMTP_PORT: Port allocated to James' SMTP port (should be 25).
== Know more about James design
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org