[ 
https://issues.apache.org/jira/browse/JAMES-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284660#comment-17284660
 ] 

ASF GitHub Bot commented on JAMES-3500:
---------------------------------------

chibenwa opened a new pull request #298:
URL: https://github.com/apache/james-project/pull/298


   The git plugin, enforces, checkstyles and the like are running 3 times 
(compile, stable tests, unstable tests)
   
   I would like to experiment doing it once: how much do we save?
   
   Here is the difference on a local single project run:
   
   ```
   interview1@interview1-HP-ProBook-440-G6:~/Documents/james-project$ mvn 
surefire:test -pl org.apache.james:blob-api -DskipTests
   [INFO] Scanning for projects...
   [INFO] 
   [INFO] ---------------------< org.apache.james:blob-api 
>----------------------
   [INFO] Building Apache James :: Server :: Blob :: API 3.6.0-SNAPSHOT
   [INFO] --------------------------------[ jar 
]---------------------------------
   [INFO] 
   [INFO] --- maven-surefire-plugin:2.22.2:test (default-cli) @ blob-api ---
   [INFO] Tests are skipped.
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  2.585 s
   [INFO] Finished at: 2021-02-15T17:49:53+07:00
   [INFO] 
------------------------------------------------------------------------
   
   
   
   interview1@interview1-HP-ProBook-440-G6:~/Documents/james-project$ mvn test 
-pl org.apache.james:blob-api -DskipTests
   [INFO] Scanning for projects...
   [INFO] 
   [INFO] ---------------------< org.apache.james:blob-api 
>----------------------
   [INFO] Building Apache James :: Server :: Blob :: API 3.6.0-SNAPSHOT
   [INFO] --------------------------------[ jar 
]---------------------------------
   [INFO] 
   [INFO] --- sortpom-maven-plugin:2.12.0:verify (strict-pom-ordering) @ 
blob-api ---
   [INFO] Verifying file 
/home/interview1/Documents/james-project/server/blob/blob-api/pom.xml
   [INFO] 
   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
blob-api ---
   [INFO] 
   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ blob-api ---
   [INFO] 
   [INFO] --- git-commit-id-plugin:3.0.1:revision (get-the-git-infos) @ 
blob-api ---
   [INFO] 
   [INFO] --- maven-remote-resources-plugin:1.6.0:process 
(process-resource-bundles) @ blob-api ---
   [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
   [INFO] Copying 3 resources from 1 bundle.
   [INFO] 
   [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ 
blob-api ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] skip non existing resourceDirectory 
/home/interview1/Documents/james-project/server/blob/blob-api/src/main/resources
   [INFO] Copying 3 resources
   [INFO] 
   [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ blob-api 
---
   [INFO] Nothing to compile - all classes are up to date
   [INFO] 
   [INFO] --- maven-checkstyle-plugin:3.1.0:check (default) @ blob-api ---
   [INFO] 
   [INFO] --- maven-resources-plugin:3.1.0:testResources 
(default-testResources) @ blob-api ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] Copying 2 resources
   [INFO] Copying 3 resources
   [INFO] 
   [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ 
blob-api ---
   [INFO] Nothing to compile - all classes are up to date
   [INFO] 
   [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ blob-api ---
   [INFO] Tests are skipped.
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  5.440 s
   [INFO] Finished at: 2021-02-15T17:50:03+07:00
   [INFO] 
------------------------------------------------------------------------
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


> Fasten the build
> ----------------
>
>                 Key: JAMES-3500
>                 URL: https://issues.apache.org/jira/browse/JAMES-3500
>             Project: James Server
>          Issue Type: Improvement
>          Components: Build System
>            Reporter: Benoit Tellier
>            Priority: Major
>
> On master, stable tests takes 5h16 and unstable tests takes 1h51
> Deploy (whatever it means took 1h05)
> Total, this took 8h+
> I can not be productive while waiting a full work-day for a build result, and 
> I believe I am not the only one in that case.
> I would like to help reduce the total build time down to (say) 3 hours.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to