Branch: refs/heads/master
Home: https://github.com/jenkinsci/git-plugin
Commit: 89757755a1366cd35b2f16f19c3bbcff5ff0d388
https://github.com/jenkinsci/git-plugin/commit/89757755a1366cd35b2f16f19c3bbcff5ff0d388
Author: James Nord <[email protected]>
Date: 2022-01-18 (Tue, 18 Jan 2022)
Changed paths:
M src/test/java/jenkins/plugins/git/GitSampleRepoRule.java
Log Message:
-----------
initialize the test repos without a default template
Similar to #1151 by default git comes without any hooks, but when
creating a new sample git repo with the code it would copy the system
default hooks, meaning this sample repo can behave differently on
different platforms.
by not using the hooks here we can avoid littering test code with
"--no-verify" on commits, and can avoit hooks in other cases as well,
which consume test time and / or even fail the operation due to a
failing hook requirement (e.g. no JIRA reference)
when consuming this in pipeline-model-definition's ValidatorTest test
locally go from failing due to timeout exception (10 minutes) to
completing in 2 minutes
Commit: 2a24871718319eaa43fc1cf54f5895db03d88fcb
https://github.com/jenkinsci/git-plugin/commit/2a24871718319eaa43fc1cf54f5895db03d88fcb
Author: Mark Waite <[email protected]>
Date: 2022-01-18 (Tue, 18 Jan 2022)
Changed paths:
M src/test/java/jenkins/plugins/git/GitSampleRepoRule.java
Log Message:
-----------
Merge pull request #1207 from jtnord/skip-templates
initialize the test repos without a default template
Compare:
https://github.com/jenkinsci/git-plugin/compare/acb1c6eadaad...2a2487171831
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/git-plugin/push/refs/heads/master/acb1c6-2a2487%40github.com.