Hi Reinhold,
Thank you for answer.
>I think it is the usage of the (default?) map in pipeline code, e.g.
"def enviroments = [:]" which according to the StackTrace results in a
LinkedHashMap?
Hm. If I use empty map suites_time = [:] in function sortSuites(),
everything working good.
But all maps used only in @NonCPS functions. It's why I'm confused.
Will try to move some logic into pipeline library.
19.10.2017 08:17, Reinhold Fuereder пишет:
Hi
I think it is the usage of the (default?) map in pipeline code, e.g.
"def enviroments = [:]" which according to the StackTrace results in a
LinkedHashMap?
According to
https://jenkins.io/blog/2017/02/01/pipeline-scalability-best-practice/#appendix-serializable-vs.-non-serializable-types
"Maps: normal Groovy Map, HashMap, TreeMap" are said to be okay though
-- not sure if this is still up-to-date…
But maybe you wanted to use a List, or re-structure your pipeline code
completely? Or moved some of the logic into a shared pipeline library
instead?
Cu Reinhold
--
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-users+unsubscr...@googlegroups.com
<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/C3D41C0B1D5991438F1A43F586F4B47F7F8731D5%40TIGER2010.xortex.local
<https://groups.google.com/d/msgid/jenkinsci-users/C3D41C0B1D5991438F1A43F586F4B47F7F8731D5%40TIGER2010.xortex.local?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
WBD,
Viacheslav Dubrovskyi
--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/3fa0c4e3-a0e0-34c3-29e3-a257fca3bea4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.