[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Jochen A. Fürbacher commented on JENKINS-41375 Re: JobConfigHistory fails to revert You don't need to test JCH on an existing node. You can create a new dumb slave node (e.g. "Launch slave agents via Java Web Start") that you don't start. Just create and reconfigure such a slave node. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert I cannot test it on the node at the moment. The JobConfigHistory settings are the default ones. We had a previous version of JobConfigHistory (2.4) and got the same error, that's why we updated to 2.15. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Jochen A. Fürbacher commented on JENKINS-41375 Re: JobConfigHistory fails to revert Three more things: JobConfigHistory does not only persist changes in job configurations, but also changes in node configurations. Could you try JobConfigHistory on a node? Did you configure JobConfigHistory to use an other directory than the default one or did you even configure JobConfigHistory? (Global jenkins configuration page) I am also wondering about the stack trace you provided. There's the line at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.doRestore(JobConfigHistoryProjectAction.java:219) , however in JobConfigHistory 2.15 there's no method or anything in line 219, as you can see here. Maybe there went something wrong during the upgrade of JobConfigHistory. Can you rollback to the earlier version you installed, try it there and upgrade to the newest version again? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert Yes, we have tried doing it without the Selenium grid hub running. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Jochen A. Fürbacher commented on JENKINS-41375 Re: JobConfigHistory fails to revert Ok, that should work. Have you tried to use JobConfigHistory when the Selenium grid hub is not running? I just want to be sure, that it doesn't have anything to do with it. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert Hello, We have some jobs with - . or_ but most of them are just alphanumeric. Best Regards, Antoni Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Jochen A. Fürbacher commented on JENKINS-41375 Re: JobConfigHistory fails to revert Hello, I can't also reproduce this issue with running a Selenium grid hub on the same windows machine. Do you use some special characters (any character except a-z,A-Z,0-9) in your job names? Best regards, Jochen Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert Hi, There is a Selenium grid hub running on this server. We are using JDK 8u45. Best Regards, Antoni Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Jochen A. Fürbacher assigned an issue to Jochen A. Fürbacher Jenkins / JENKINS-41375 JobConfigHistory fails to revert Change By: Jochen A. Fürbacher Assignee: Stefan Brausch Jochen A. Fürbacher Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Jochen A. Fürbacher commented on JENKINS-41375 Re: JobConfigHistory fails to revert Hello, I cannot reproduce this issue even on Windows 7. But it looks like there's some problem with the SAX parser. What Java version are you using? Do you run Jenkins in an application server? If yes, what application server? Best regards, Jochen Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Stefan Brausch commented on JENKINS-41375 Re: JobConfigHistory fails to revert Looks like a Windows problem but i've only unix and macOS systems. I'm waiting for a colleague with a Windows environment. I will come back from vacation in march. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert Hello, Do you have any updates? Best Regards, Antoni Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert Hello, Do you happen to have any update? Or if you need some further information? Best Regards, Antoni Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert Ok, so it's not the permission, because I can see the button. The OS is Windows Server 2008 R2. Yes, the configs are changed and saved without problems. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Stefan Brausch commented on JENKINS-41375 Re: JobConfigHistory fails to revert Users without the config permissions don't see the restore button. It you see the button, you should have the rights. Can you give me more information about your OS? It's possible to change and save the job configs without problems? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert Which user does the plugin uses? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Stefan Brausch commented on JENKINS-41375 Re: JobConfigHistory fails to revert The user should have job config permissions. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert Can this be because of user permissions? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert We restarted Jenkins last week after the upgrade of the JobConfigHistory plugin to the latest version. The plugin doesn't work with different jobs. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Stefan Brausch commented on JENKINS-41375 Re: JobConfigHistory fails to revert I can't reproduce the problem. Did you have the issue only with one job or with different jobs? Maybe the config file was blocked from another file writer. Maybe you can restart your jenkins instance and try it again? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev commented on JENKINS-41375 Re: JobConfigHistory fails to revert Hello, Do you happen to have any feedback on this issue? Best Regards, Antoni Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41375) JobConfigHistory fails to revert
Title: Message Title Antoni Yanev created an issue Jenkins / JENKINS-41375 JobConfigHistory fails to revert Issue Type: Bug Assignee: Stefan Brausch Components: jobconfighistory-plugin Created: 2017/Jan/24 3:50 PM Environment: Jenkins 1.634 JobConfigHistory Plugin 2.15 Maven Integration Plugin 2.10 Labels: plugin Priority: Major Reporter: Antoni Yanev Hello, When we try to revert to a previous job configuration we get the following error: java.io.IOException: Failed to persist config.xml at hudson.model.AbstractItem.updateByXml(AbstractItem.java:646) at hudson.model.AbstractItem.updateByXml(AbstractItem.java:625) at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.doRestore(JobConfigHistoryProjectAction.java:219) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:411) at