ConfigFiles 3.0 appears to be mangling config.xml

29 views
Skip to first unread message

Michael Weigle

unread,
Sep 3, 2018, 2:14:28 PM9/3/18
to Jenkins Users
Upgraded from 2.18 to 3.0

After the upgrade, configs persist on the filesystem inside config.xml until that job is visited in the UI (presumably, config.xml is revalidated at that point and 3.0 throws the error). The attached unreadable_data message also appears in the Manage Old Data section.

Old config.xml shows this comparator: <comparator class="org.jenkinsci.plugins.configfiles.folder.FolderConfigFileProperty$1"/>
New config.xml shows this comparator: <comparator class="org.jenkinsci.plugins.configfiles.ConfigComparator"/>

I see some commits about pulling ConfigComparator out from where it used to live, but I'm not sure if that's the exact cause of what's going on here.

Thanks,
Mike
unreadable_data.txt

Benjamin Brummer

unread,
Sep 4, 2018, 8:29:34 AM9/4/18
to Jenkins Users
I also had to reconfigure one jenkins job, after this update. Configuration was gone almost completely. All provided maven settings.xml files where gone and but i could set them up again with identical id's.

Björn Pedersen

unread,
Sep 4, 2018, 10:39:44 AM9/4/18
to Jenkins Users
Just for reference:A jira issue exists: https://issues.jenkins-ci.org/browse/JENKINS-53399
Reply all
Reply to author
Forward
0 new messages