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/02/14 06:54:03 UTC
[james-project] 13/18: JAMES-3500 Fasten deploy: -T1C
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 139dbc937a06f078f8a9e7a7597979abb7bc35c3
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu Feb 11 15:18:50 2021 +0700
JAMES-3500 Fasten deploy: -T1C
Deploying means uploading each jar generated by the build
to Apache Snapshot repository.
As a contributor, I hate it: it takes ages to complete, as
tons of small objects are uploaded sequencially.
A good way to speed things up is to leverage maven concurrency: instead of uploading one stuff at the same time,
we end up uploading 16 stuff at the same time.
This could take the deploy phase, currently taking 1h+ down to 5 minutes.
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index b027b18..1fff004 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -130,7 +130,7 @@ pipeline {
when { branch 'master' }
steps {
echo 'Deploying'
- sh 'mvn -B -e deploy -Pdeploy -DskipTests'
+ sh 'mvn -B -e deploy -Pdeploy -DskipTests -T2C'
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org