--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/61fe5fb1-6b5f-41b8-bdb0-f5d04c5b9f54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAJc7kzS28M8q6EruxGXE%2B8yC9vELsCuW-qXFLS1JZG-8ASge%3Dg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0Te6a5_pzm0HnKiz3eGPc7cv%2BWZTE8ibJCB%3DdeOk4_2Q%40mail.gmail.com.
Caused by: com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode["typeDisplayName"])
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:141)
at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3559)
at com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2909)
at com.github.bsideup.jenkins.pipeline.ui.view.PipelineViewApi.doNodes(PipelineViewApi.java:75)
... 89 more
Caused by: java.lang.IllegalArgumentException: (was java.lang.NullPointerException) (through reference chain: org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode["typeDisplayName"])
at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3459)
at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3378)
at com.github.bsideup.jenkins.pipeline.ui.view.PipelineViewApi$2.apply(PipelineViewApi.java:78)
at com.github.bsideup.jenkins.pipeline.ui.view.PipelineViewApi$2.apply(PipelineViewApi.java:75)
at com.google.common.collect.Iterators$8.next(Iterators.java:812)
at com.fasterxml.jackson.databind.ser.std.IterableSerializer.serializeContents(IterableSerializer.java:89)
at com.fasterxml.jackson.databind.ser.std.IterableSerializer.serialize(IterableSerializer.java:74)
at com.fasterxml.jackson.databind.ser.std.IterableSerializer.serialize(IterableSerializer.java:12)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:130)
... 92 more
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/0697c884-91ad-4716-809e-3c40cf5e35da%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/70fea7d1-fb89-4500-802b-9e7ec2cb3fb1%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/08bfae6f-5de0-41e1-8a1f-4daca75fe753%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/YZAHSXYCfDY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAAJdKXm%2BjmTcQEMim9s2T7Y0JMJc-tZcP64edZDvVDYTjAG8AQ%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/YZAHSXYCfDY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/08bfae6f-5de0-41e1-8a1f-4daca75fe753%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/YZAHSXYCfDY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1oauvfPoeYcjFV6%2BXHoeE8fctH4xhsKq9n4KCLhbM8qA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAEuC6Li88QKTV549b9%3DO-HbDqbgMmyQq%2BqdBiA7OAAicCZQw-A%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/9b0c2cbd-e6ec-4ae0-9b51-956d92f80b1f%40googlegroups.com.
Hey Samuel,Yes, initially I started to use Stage View's REST API as a source. But... It's a HAL and doesn't use or provide a way to use embedded HAL resources. It means that I will have to make a lot of queries to load all the data I want. Also, there were some missing parts of the data as well.Also, in fact, I consume standard API provided by FlowNodes, I'm just exposing some fields which are not exposed with Stapler, and if that annotations will be added + new Stapler (with class support) supported then Pipeline View will consume standard REST API of the Jenkins without any additional API at all, at least at this moment.Of course, we can collaborate and improve API of Stage View to make it consumable by Pipeline View as well.BR,SergeiOn Fri, Mar 25, 2016 at 5:19 PM Samuel Van Oort <svan...@cloudbees.com> wrote:Sergei, I love the visualization this provides of the pipeline DAG!One thing worth mentioning: I have been working on a scalable/high-performance & parallel-aware FlowAnalyzer for pipeline stage view that is generalized enough to assist with the data you are visualizing. Since the rest-api portion of stage view is available as a separate plugin from UI, I might suggest consuming that API or its extensible Analyzer algorithm to power this view.Advantages: don't have to roll your own API, get a variety of metrics on each FlowNode (pause/execution timing, status, executor used) and stage. The algorithm also scales to complex flows with thousands of nodes and implements caching for executed runs. Finally it supports limiting the number of FlowNodes returned for a stage, so one can render a subset where a stage contains a loop (or deeply nested blocks) returning thousands of nodes.Thoughts?
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/YZAHSXYCfDY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d46c322c-a897-43c7-b0ab-d3cc24d08eb6%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/366ea45b-b474-4716-89d6-d89ca465e44e%40googlegroups.com.