Try keeping images in <JENKINS_HOME>/userContent folder ? U'll be able to access it from http://YOUR_HOST/userContent/chart.png
On Thu, Oct 24, 2013 at 6:41 PM, <[email protected]> wrote: > What im trying to do is to create a view where build-dependant images are > shown (via the <img> tag in the jelly-file). > I dont think that HTMLPublisher can do that. > > I've created the image in the root directory of the build. Should i create > it in a different folder? > Also, how can i access this file by URL? When i try to link to it via <img > src="#{buildURL}/chart.png"> it throws a stapler exception. > > Am Donnerstag, 24. Oktober 2013 14:53:20 UTC+2 schrieb Mark Waite: >> >> If you're trying to access it as a user from a web browser, you could >> consider using the HTML publisher plugin. I've used that technique >> successfully before. >> >> You might also be able to archive it as a build artifact and refer to it >> as an artifact. I've never used that technique, but I believe there are >> others who have. >> >> You could also access it directly from the build workspace by URL. >> >> Mark Waite >> >> >> On Thu, Oct 24, 2013 at 6:35 AM, <[email protected]**> wrote: >> >>> Hi, >>> >>> im generating a custom image each build, its called chart.png and is in >>> the specific build directory. >>> How can i access this image via an url? >>> f.ex. "jenkins/job/test1/17/chart.**png" >>> >>> thanks in advance! >>> >>> MB >>> >>> -- >>> 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. >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>> . >>> >> >> -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
