Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
JENKINS-22009 Git Polling Keeps Detecting Changes When Variables in refspec #245
I think that the comment referencing a regression is from the git plugin prior to 2.0. Prior to 2.0, "fast remote polling" was disabled by default. The 2.0 release switched the default from "fast remote polling" disabled to "fast remote polling" enabled. The switch was a good one, since it improves performance. Unfortunately, the "fast remote polling" implementation can't do all the things which the "use workspace for polling" can.
I attempted to cherry pick this change onto the 2.2.x branch. It fails to compile on that branch. It seems to depend on AbstractBuild having a getAllActions method.
Were you intending that this change would only be available with Jenkins versions after 1.568? That would mean there will not be a long term support release for use with your changes for at least 3 months, and possibly 6 months.