-
Notifications
You must be signed in to change notification settings - Fork 55
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
Set forkCount to speed up builds #451
Conversation
SNAPSHOT_VERSION=0.5.1-SNAPSHOT # TODO incrementals broken till https://github.com/jenkinsci/plugin-compat-tester/pull/260 is merged | ||
version=0.5.1-20201017.070523-3 # TODO https://github.com/jenkinsci/plugin-compat-tester/pull/261 | ||
pct=$HOME/.m2/repository/org/jenkins-ci/tests/plugins-compat-tester-cli/${SNAPSHOT_VERSION}/plugins-compat-tester-cli-${version}.jar | ||
version=0.5.1-rc1068.959674bdeffd # TODO https://github.com/jenkinsci/plugin-compat-tester/pull/275 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…eForks=false will help
…ansferListener=warn is set by jenkinsci/plugin-compat-tester#216
@bitwiseman AFAICT jenkinsci/pipeline-model-definition-plugin#415 broke a test added in jenkinsci/pipeline-model-definition-plugin#409, perhaps due to lack of cleanup of mvn -Pquick-build install
mvn -pl pipeline-model-definition -Dtest=ASTParserUtilsTest surefire:test but this was not caught in CI, perhaps because that plugin does not set |
Going to see if reverting #428 works around this for now. |
…g to bother adding that for now
@@ -13,8 +13,7 @@ else | |||
PCT_S_ARG= | |||
fi | |||
|
|||
# TODO use -ntp if there is a PCT option to pass Maven options | |||
MAVEN_PROPERTIES=org.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn:jth.jenkins-war.path=$(pwd)/megawar.war | |||
MAVEN_PROPERTIES=jth.jenkins-war.path=$(pwd)/megawar.war:forkCount=.75C |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With current ACI agents, this seems to be effectively 3×.
@@ -114,4 +113,7 @@ rm -fv pct-work/workflow-basic-steps/target/surefire-reports/TEST-org.jenkinsci. | |||
# TODO until dropping 2.235.x so can rely on https://github.com/jenkinsci/workflow-basic-steps-plugin/pull/120 | |||
rm -fv pct-work/workflow-basic-steps/target/surefire-reports/TEST-org.jenkinsci.plugins.workflow.steps.TimeoutStepTest.xml | |||
|
|||
# TODO https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/417 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤞 |
https://ci.jenkins.io/job/Tools/job/bom/job/master/buildTimeTrend
|
jenkinsci/plugin-compat-tester#273 speeds up builds of bottleneck plugins like
pipeline-model-definition
and makes the overall build completely significantly faster: ~61m → ~42m.