git plugins has problems with the last version of jenkins

50 views
Skip to first unread message

ycollet

unread,
Mar 25, 2016, 3:29:37 AM3/25/16
to Jenkins Users
Hello,

I use jenkins1.654 with the last version of git plugins.
The last working version was 1.653 with the n-1 version of git plugin.
I use "checkout to a subdirectory" option.
With the last version of jenkins, the directory I put in the "checkout to a subdirectory" field disappears. So, everything hangs now. I need to put again all the subdirectory in every project and rebuild everything from scratch ...

YC

Mark Waite

unread,
Mar 25, 2016, 8:16:35 AM3/25/16
to Jenkins Users
My sincere apologies for that bug.  When a job definition is saved, it erases all extensions from the copy of the job on disc.  It doesn't erase the extensions in memory, just on the disc.  That makes the bug even worse, since the user doesn't realize their job definition was damaged until the next restart of Jenkins.  I introduced it in git plugin 2.4.3 that was released 19 Mar 2016.  It was reported as JENKINS-33695 and JENKINS-33811 and JENKINS-33811.

It is fixed in git plugin 2.4.4 that was released 24 Mar 2016 (about 8 hours ago).  The plugin is not yet visible in the update center, but should be visible within 24 hours.  If you need the fix sooner than it is available in the update center, you can download it directly from artifactory and upload it to your Jenkins.


There is now an automated test in the git plugin which checks for that bug, and I have a separate end to end test in my Jenkins docker instance which checks for that bug.

Thanks,
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5737c7d4-27dc-4cdb-ba3c-e78bd9b072ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages