Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Conversation

optimizing-ci-builds
Copy link
Contributor

In our analysis, we observe that this target/surefire-report/ directory is generated but not later used during the CI build. Hence, we propose to disable generating this directory to save runtime.
The generation of this directory can be disabled by simply adding -DdisableXmlReport=true to the mvn command.

@optimizing-ci-builds optimizing-ci-builds requested a review from a team March 22, 2023 17:25
Signed-off-by: optimizing-ci-builds <[email protected]>
@@ -30,7 +30,7 @@ docker ps -a

export ORG_HYPERLEDGER_FABRIC_SDK_DIAGNOSTICFILEDIR=target/diagDump
export MAVEN_OPTS="-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
mvn -B clean install -DskipITs=false -Dmaven.test.failure.ignore=false javadoc:javadoc
mvn -B clean install -DskipITs=false -Dmaven.test.failure.ignore=false javadoc:javadoc -DdisableXmlReport=true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the disableXmlReport option is deprecated so this may not be the ideal solution.

@bestbeforetoday bestbeforetoday merged commit 10a0acf into hyperledger:main Mar 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants