Regarding information on REST API of Jenkins

69 views
Skip to first unread message

Rohit Sakala

unread,
Mar 7, 2016, 10:35:24 AM3/7/16
to Jenkins Users
Hello,

       Is there any API which can give me the data in json format for the data in the url https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-cbench-daily-only-boron/plot/ .

      Thank you

Christopher Orr

unread,
Mar 7, 2016, 8:17:54 PM3/7/16
to jenkins...@googlegroups.com
Hi there,

On 07/03/16 16:35, Rohit Sakala wrote:
> Is there any API which can give me the data in json format for
> the data in the url
> https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-cbench-daily-only-boron/plot/

No, the Plot Plugin just draws graphs, it doesn't re-interpret and
expose your data for you.

But since you're generating the graphs from CSV files, you could archive
those CSV files (via the "Archive the artifacts" post-build step), which
would make them accessible them via a permalink like this one:
https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-cbench-daily-only-boron/lastSuccessfulBuild/artifact/

Then another tool could use those URLs to do the necessary processing to
create the data format you need.

Regards,
Chris

Rohit Sakala

unread,
Mar 8, 2016, 10:46:28 AM3/8/16
to Jenkins Users
Hey,

      Thanks for the reply. The graph is an image. I really didn't find any csv files. Could you please tell me in detail where are these csv files ? . Also the link you specified has no csv files and no data related to graph. Could you please explain me a bit detail. I am new to this.

      Thanks ,

Regards,
SVK Rohit
B.Tech 3rd Year,
International Institute of Information Technology Hyderabad,
India.

Christopher Orr

unread,
Mar 10, 2016, 8:15:04 PM3/10/16
to jenkins...@googlegroups.com
Visit the link you posted, click on "View Configuration" on the left,
and scroll to the bottom ("Plot build data"), where the graphs are
generated.

As you can see there, they are generated from CSV files.

You can see more details on the wiki page for this plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Plot+Plugin
> --
> 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-use...@googlegroups.com
> <mailto:jenkinsci-use...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/ce897c5c-fc9a-440b-b05a-2235892e4d87%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/ce897c5c-fc9a-440b-b05a-2235892e4d87%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Rohit Sakala

unread,
May 23, 2016, 9:15:28 AM5/23/16
to jenkins...@googlegroups.com
Hey,

          Thanks for the info. If I archive them,I get the csv file that will have the data for that build only. How can I get the data for all the builds of the job ?  (ex :- 180 builds ) [0] .  Thanks.
[0] https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-cbench-daily-only-boron/configure

Sent with MailTrack

Regards,
SVK Rohit
B.Tech 3rd Year,
International Institute of Information Technology Hyderabad,
India.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/cMNuVlSY0qE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/56E21C0D.2080204%40orr.me.uk.
Reply all
Reply to author
Forward
0 new messages