Quantcast

Saving build information and then getting it back

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Saving build information and then getting it back

Ognjen Bubalo
Hi,
I am refactoring the JaCoCo plugin. I am doing some builds to test the working of this reporting plugin. After a build finishes, it says that the build was success and it goes blue. After I restart Jenkins the build goes red and there is no report for the previous builds. What do I have to do to store this information, what do I miss in the implementation?

Thank you,
ogi
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Saving build information and then getting it back

Jesse Glick-4
On 08/13/2012 09:12 AM, Ognjen Bubalo wrote:
> it says that the build was success and it goes blue. After I restart Jenkins the build goes red and there is no report for the previous builds.

Might be a deserialization error in your plugin. Check whether /administrativeMonitor/OldData/manage and/or /log/all mention anything.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Saving build information and then getting it back

Ognjen Bubalo
Hi,

Thank you! Yes it was a serialization problem. I used in my Serializable object a BuildListener object which is not serializable.  

Br,
ogi
Loading...