You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/10/07 08:35:58 UTC

[GitHub] [maven-mvnd] OLibutzki opened a new issue, #704: Usage of mvnd in Jenkins for parallel builds

OLibutzki opened a new issue, #704:
URL: https://github.com/apache/maven-mvnd/issues/704

   Hi everyone,
   
   we would like to build the modules our multi-module maven projects in Jenkins concurrently.
   
   Using `mvn -T` that works quite well, but unfortunately the logs are messed up as all the different hreads write to the console output.
   
   mvnd offers a great way to visualize the progress of a parallel multi.-module build and - even mor eimportant - collects the log output and prints it after the build is finished. We would like to benefit from this feature in Jenkins as well.
   
   So, I don't need the daemon itself in Jenkins, but this output optimiazion. If there is a way to port it to maven itself my problem would be solved too. For the time being I assume it's more realistic to use mvnd instead of mvn in Jenkins.
   
   Maybe you have another idea how to solve my issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] OLibutzki commented on issue #704: Usage of mvnd on Jenkins for parallel builds

Posted by GitBox <gi...@apache.org>.
OLibutzki commented on issue #704:
URL: https://github.com/apache/maven-mvnd/issues/704#issuecomment-1291506225

   I decided to create a maven issue as porting the great mvnd console output to maven might be a better solution: https://issues.apache.org/jira/browse/MNG-7581


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] lppedd commented on issue #704: Usage of mvnd on Jenkins for parallel builds

Posted by "lppedd (via GitHub)" <gi...@apache.org>.
lppedd commented on issue #704:
URL: https://github.com/apache/maven-mvnd/issues/704#issuecomment-1569794497

   Wondering how logging is displayed in a Jenkins build console tho. Isn't it a bit messed up given how the output works?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] ppalaga commented on issue #704: Usage of mvnd on Jenkins for parallel builds

Posted by GitBox <gi...@apache.org>.
ppalaga commented on issue #704:
URL: https://github.com/apache/maven-mvnd/issues/704#issuecomment-1291955738

   @OLibutzki note that the `smart` builder used in mvnd is a bit different from the `multithreaded` builder available in stock Maven. Thus when the console output is ported, you may still see some difference in performance between mvn and mvnd. See  https://peter.palaga.org/2021/01/11/mvnd-parallel-builds.html#smart_builder_by_default


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] ppalaga commented on issue #704: Usage of mvnd on Jenkins for parallel builds

Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #704:
URL: https://github.com/apache/maven-mvnd/issues/704#issuecomment-1570270372

   > Does the improved log output depend on the smart builder?
   
   No, it is done inside mvnd client.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] gnodet commented on issue #704: Usage of mvnd on Jenkins for parallel builds

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on issue #704:
URL: https://github.com/apache/maven-mvnd/issues/704#issuecomment-1557831875

   Note that the `mvnd.noDaemon` option may help here, see #43 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] ardalangh commented on issue #704: Usage of mvnd on Jenkins for parallel builds

Posted by "ardalangh (via GitHub)" <gi...@apache.org>.
ardalangh commented on issue #704:
URL: https://github.com/apache/maven-mvnd/issues/704#issuecomment-1557823786

   @ppalaga @OLibutzki Hi, apologies for the unrelated question. Can maven-mvnd be utilized for a Jenkins build where all maven builds are executed in containers that are killed upon build completion? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-mvnd] OLibutzki commented on issue #704: Usage of mvnd on Jenkins for parallel builds

Posted by GitBox <gi...@apache.org>.
OLibutzki commented on issue #704:
URL: https://github.com/apache/maven-mvnd/issues/704#issuecomment-1292149383

   I have not been aware of the smart builder, to be honest.
   
   With this request I don't focus on the performance improvements of mvnd... 
   
   The way mvnd visualizes the process of the build plus the per-module-aggregation of the log is the feature I would love to see in maven... and I would like to benefit from it in Jenkins.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org