Branch: refs/heads/master
Home: https://github.com/jenkinsci/git-plugin
Commit: 3519ab840f71a35e63ab7093a06365c1b73fbe44
https://github.com/jenkinsci/git-plugin/commit/3519ab840f71a35e63ab7093a06365c1b73fbe44
Author: Mark Waite <[email protected]>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M Jenkinsfile
M pom.xml
Log Message:
-----------
Require Jenkins 2.204.1 or later
Commit: b1cb27e5e2e7e4f9cf9b0fa37c6e107bb30e8217
https://github.com/jenkinsci/git-plugin/commit/b1cb27e5e2e7e4f9cf9b0fa37c6e107bb30e8217
Author: Mark Waite <[email protected]>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M pom.xml
Log Message:
-----------
Reduce memory requirement for tests
Fork count of 3 often fails on ci.jenkins.io with an out of memory error
in maven. Use the default and accept slower performance on multi-core
machines.
Commit: 7203528aceb353ef22fd0f3173e6d9646bcfb2e5
https://github.com/jenkinsci/git-plugin/commit/7203528aceb353ef22fd0f3173e6d9646bcfb2e5
Author: Mark Waite <[email protected]>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M src/test/java/hudson/plugins/git/GitStatusCrumbExclusionTest.java
Log Message:
-----------
Remove mocks from crumb exclusion test
Since the test already had a JenkinsRule, use it to make passing
and failing HTTP requests to the notifyCommit URL and to other
URL's.
Uses a single JenkinsRule for the entire class of tests, since
none of them alter the state of Jenkins enough to justify
restarting Jenkins. Saves the time of stopping and starting
Jenkins for each test.
Commit: 4e6a0f513ffdcce1f9502596f75f65e0865bfabb
https://github.com/jenkinsci/git-plugin/commit/4e6a0f513ffdcce1f9502596f75f65e0865bfabb
Author: Mark Waite <[email protected]>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M src/test/java/jenkins/plugins/git/GitSCMSourceTest.java
Log Message:
-----------
Make test interface public for JDK 11 mockito access
Intentionally made public to prevent Java 11 mocking failure
due to class loading of a non-public interface in a different
class loader than the mocking framework. Since this is a test,
it seems quite safe to make the interface slightly more visible
than private.
The message from mockito is:
The type is not public and its mock class is loaded by a different class loader.
This can have multiple reasons:
- You are mocking a class with additional interfaces of another class loader
- Mockito is loaded by a different class loader than the mocked type (e.g.
with OSGi)
- The thread's context class loader is different than the mock's class loader
Not clear to me why this is an issue only with the update of the minimum
Jenkins version from 2.138.4 to 2.204.1, but the change is only in
test code and only to assist a mocked test so that it continues to
be well-behaved.
Commit: 02fc093fe4f3825e8fcb45b50463317cab5e8edb
https://github.com/jenkinsci/git-plugin/commit/02fc093fe4f3825e8fcb45b50463317cab5e8edb
Author: Mark Waite <[email protected]>
Date: 2020-04-05 (Sun, 05 Apr 2020)
Changed paths:
M src/test/java/hudson/plugins/git/GitStatusTest.java
M
src/test/java/hudson/plugins/git/extensions/impl/BuildSingleRevisionOnlyTest.java
Log Message:
-----------
Prevent test failure due to busy Windows log file
Windows job cleanup fails to delete build logs in some of these tests.
Wait for the jobs to complete before exiting the test so that the
build logs will not be active when the cleanup process tries to
delete them.
The build logs which are not being promptly released are logs that
Jenkins core maintains. It seems like Jenkins core should be the
one that is responsible to assure the locks are released before the
test exits. However, that might slow tests by blocking their exit
unnecessarily on platforms that allow open files to be deleted.
Commit: fd96a340f76991a970b5af31f63b739a9f6e1e95
https://github.com/jenkinsci/git-plugin/commit/fd96a340f76991a970b5af31f63b739a9f6e1e95
Author: Mark Waite <[email protected]>
Date: 2020-04-05 (Sun, 05 Apr 2020)
Changed paths:
M Jenkinsfile
M pom.xml
M src/test/java/hudson/plugins/git/GitStatusCrumbExclusionTest.java
M src/test/java/hudson/plugins/git/GitStatusTest.java
M
src/test/java/hudson/plugins/git/extensions/impl/BuildSingleRevisionOnlyTest.java
M src/test/java/jenkins/plugins/git/GitSCMSourceTest.java
Log Message:
-----------
Merge pull request #862 from MarkEWaite/require-jenkins-2.204.1
Require Jenkins 2.204.1
Compare:
https://github.com/jenkinsci/git-plugin/compare/c1dda1e3cf57...fd96a340f769
--
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/c1dda1-fd96a3%40github.com.