Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
git-plugin 2.4.1
Jenkins 1.643
Description
I noticed that GIT_PREVIOUS_SUCCESSFUL_COMMIT was not set anymore on the Job that only builds our master branch. After some digging I found out that since the upgrade from the previous version (I can't find which version that was, is that stored somewhere?) the buildsByBranchName variable in any `build.xml` is not set anymore (it's empty). It is set in other jobs we have, just not this one.
This env is critical for us, so I'm going to try to rollback. I'm glad to help track down this problem if possible.
Attachments
Issue Links
- is related to
-
JENKINS-19022 GIT Plugin (any version) heavily bloats memory use and size of build.xml with "BuildData" fields
-
- Open
-
-
JENKINS-29482 Prune stale branches prevents git plugin change history display
-
- Closed
-
I'm also experiencing the issue of commit changes not being set for each build. Like others here, I am seeing the problem only in some of the jobs on my server.
I've narrowed down the issue to the inclusion of the Prune stale remote-tracking branches option in Additional Behaviours.
I can also confirm that I started seeing this symptom after upgrading from 2.4.0 to 2.4.1, running Jenkins 1.625.3 LTS.