Re: JenkinsRule doesn't persist the data file, any hints?

2021-02-11 Thread Ivan Fernandez Calvo
we hit a similar issue testing JobDSL definitions, the workaround is to use a custom TestPluginManager that ignores the detached plugins from the war see https://issues.jenkins.io/browse/JENKINS-60295?focusedCommentId=400912&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

Re: JenkinsRule doesn't persist the data file, any hints?

2019-09-27 Thread Victor Martinez
Thanks, That particular step doesn't fail in production but when using the JenkinsRule. After debugging just a bit I think it was some kind of missing plugin dependency. Although the stactrace makes the debug really hard though On Friday, 27 September 2019 15:44:26 UTC+1, Jesse Glick wrote: > >

Re: JenkinsRule doesn't persist the data file, any hints?

2019-09-27 Thread Jesse Glick
On Fri, Sep 27, 2019 at 6:28 AM Victor Martinez wrote: > an exception which occurred: > in field > org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptScript.script > in object > org.jenkinsci.plugins.pipeline.modeldefinition.agent.impl.LabelScript@37db0aae > in … > Caused: java.

JenkinsRule doesn't persist the data file, any hints?

2019-09-27 Thread Victor Martinez
Hi there, I'm working on running some kind of functional tests for a shared pipeline library using the JenkinsRule annotation. The shared library works like a charm in production but when running the tests with the JenkinsRule annotation I got some serialisation issues, which are related to the