Re: Is there a way to make jenkins serve up script generated pages?
I clearly did not read the original post carefully enough I would examine your XSLT, as it should normally perform pretty fast, if written right, but if you really want to do this ahead of time, but still be able to redo it whenever XSLT changes, your easiest way to go is to write a separate job that takes the output XML from your main job and applies XSLT and produce HTML output - then you can re-run it whenever XSLT changes (you can even have it automated) Still seems like easier approach is fix the XSLT to be faster. I would also make sure compression is enabled on whatever web-server you are serving Jenkins from. HTH, -M On Tuesday, October 25, 2016 at 8:10:26 PM UTC-7, Michael Lasevich wrote: > > I think pretty much every browser will do XML+XSL conversion without any > plugin, although if you want a "shared" XSL file, you may have to add a > stylesheet tag to point to it inside your XML > > So all you do is archive your XML with stylesheet tag and a shared > location for your XSL file and you are done. > > -M > > On Wednesday, October 19, 2016 at 5:43:29 PM UTC-7, Jonathan Hodgson wrote: >> >> >> >> On Thursday, October 20, 2016 at 12:13:01 AM UTC+1, Teichner Peter wrote: >>> >>> On Linux you have a tool called xsltproc which basically does the >>> transformation. Assuming your Jenkins is Windows you could get something >>> similar I'm sure. >>> >>> To display the HTML there is a plugin for Jnkins that will let you link >>> in static pages to the job >>> >> Thanks, but I think you may have missed the point, perhaos I wasn't cleat >> enough. >> >> I need this to be dynamic, if I convert the xml amd archive it as an html >> file, then it is stuck like that, regardless of improvements I make in the >> xslt... which needs a lot of work. >> > -- 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/1aef7b6f-6acc-41c3-a86b-00a62f99b5df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Is there a way to make jenkins serve up script generated pages?
I think pretty much every browser will do XML+XSL conversion without any plugin, although if you want a "shared" XSL file, you may have to add a stylesheet tag to point to it inside your XML So all you do is archive your XML with stylesheet tag and a shared location for your XSL file and you are done. -M On Wednesday, October 19, 2016 at 5:43:29 PM UTC-7, Jonathan Hodgson wrote: > > > > On Thursday, October 20, 2016 at 12:13:01 AM UTC+1, Teichner Peter wrote: >> >> On Linux you have a tool called xsltproc which basically does the >> transformation. Assuming your Jenkins is Windows you could get something >> similar I'm sure. >> >> To display the HTML there is a plugin for Jnkins that will let you link >> in static pages to the job >> > Thanks, but I think you may have missed the point, perhaos I wasn't cleat > enough. > > I need this to be dynamic, if I convert the xml amd archive it as an html > file, then it is stuck like that, regardless of improvements I make in the > xslt... which needs a lot of work. > -- 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/8a8260d8-f9a0-4fb4-94e4-9f610bf24670%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Is there a way to make jenkins serve up script generated pages?
On Thursday, October 20, 2016 at 12:13:01 AM UTC+1, Teichner Peter wrote: > > On Linux you have a tool called xsltproc which basically does the > transformation. Assuming your Jenkins is Windows you could get something > similar I'm sure. > > To display the HTML there is a plugin for Jnkins that will let you link in > static pages to the job > Thanks, but I think you may have missed the point, perhaos I wasn't cleat enough. I need this to be dynamic, if I convert the xml amd archive it as an html file, then it is stuck like that, regardless of improvements I make in the xslt... which needs a lot of work. -- 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/80e5de61-d903-4ed7-954e-ec7de58a234e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Is there a way to make jenkins serve up script generated pages?
On Linux you have a tool called xsltproc which basically does the transformation. Assuming your Jenkins is Windows you could get something similar I'm sure. To display the HTML there is a plugin for Jenkins that will let you link in static pages to the job Get Outlook for Android<https://aka.ms/ghei36> From: Jonathan Hodgson Sent: Wednesday, 19 October, 22:58 Subject: Is there a way to make jenkins serve up script generated pages? To: Jenkins Users Okay, so here's the situation. I have build logs in xml format, and an sxlt file to convert them to nice pretty html. Currently the way I'm doing this is with an html and js file in userContent to apply the xslt on the client end, so I have a ;link on my build page that is /userContent/msbuild/MSBuildLog.html?logxml=/job/MyBuild/1043/artifact/Win32_Release_build_log.xml MsBuildLog.Htnl being the wrapper page that loads the xml file from the artifact link, applies the xslt transform and displays the result. Now this works correctly, and is usable GOOD SIDE: I can change the xslt file to improve the display of the log. This is important because at the moment the XSLT is very much a work in progress, and since I'm cimpletely new to XSLT I expect it to remain so for quite a while (especially as I'm supposed to be spending most of my time on actual deliverable code rather audo build stuff). Doing a one off conversion at build time and artifacting the generated html really isn't viable for the moment BAD SIDE: It's slow. Ok not unusably so, but certainly enough to be irritating and mess with my workflow. So the ideal would be to do something similar on the server end. If I was running everything in Apache, no issue, I could use PHP, but I don't think that's an option here if I'm just using theJenkins server. Is there a way to do this that anybody knows? -- 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/16e6fb5f-5385-4f04-9312-44640e781359%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/16e6fb5f-5385-4f04-9312-44640e781359%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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/631E36F203287D68.ee514a3d-29f1-4d7a-bb50-564844d1fa08%40mail.outlook.com. For more options, visit https://groups.google.com/d/optout.
Is there a way to make jenkins serve up script generated pages?
Okay, so here's the situation. I have build logs in xml format, and an sxlt file to convert them to nice pretty html. Currently the way I'm doing this is with an html and js file in userContent to apply the xslt on the client end, so I have a ;link on my build page that is /userContent/msbuild/MSBuildLog.html?logxml=/job/MyBuild/1043/artifact/Win32_Release_build_log.xml MsBuildLog.Htnl being the wrapper page that loads the xml file from the artifact link, applies the xslt transform and displays the result. Now this works correctly, and is usable GOOD SIDE: I can change the xslt file to improve the display of the log. This is important because at the moment the XSLT is very much a work in progress, and since I'm cimpletely new to XSLT I expect it to remain so for quite a while (especially as I'm supposed to be spending most of my time on actual deliverable code rather audo build stuff). Doing a one off conversion at build time and artifacting the generated html really isn't viable for the moment BAD SIDE: It's slow. Ok not unusably so, but certainly enough to be irritating and mess with my workflow. So the ideal would be to do something similar on the server end. If I was running everything in Apache, no issue, I could use PHP, but I don't think that's an option here if I'm just using theJenkins server. Is there a way to do this that anybody knows? -- 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/16e6fb5f-5385-4f04-9312-44640e781359%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.