Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignoring unnecessarily generated surefire report #278

Merged
merged 1 commit into from
Mar 23, 2023

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 as a code owner March 22, 2023 17:25
Signed-off-by: optimizing-ci-builds <ocibsummerresearch2022@gmail.com>
@@ -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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants