Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6548853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:01:18+00:00 2026-05-25T12:01:18+00:00

All, We have a testing application which creates its own reports in a web

  • 0

All,

We have a testing application which creates its own reports in a web dashboard that we would like to have added to the Hudson project page for builds. At present the application outputs the URL to the page for that build into the console log.

What I would like to do is pull the URL out of the console log and then have the content at the URL end point added to the project page for that build (IFrame perhaps?).

Is there a simple way to do this? Existing plugin perhaps? Possibly config that I’ve overlooked? I’m coming to Hudson from Cruisecontrol and I’m still getting to grips with the differences.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:01:18+00:00Added an answer on May 25, 2026 at 12:01 pm

    In the end the solution to this that I went with was to create a custom plugin, which parsed the console log building an ArrayList of URLs, and contributed an ‘action’ into the top left column. From there I could pull each URL from my ‘bean’ (ArrayList wrapper effectively). After that it was just a chunk of Jelly to create each iFrame in the Jenkins page.
    I did add some Javascript to the Jelly page however as the default height of the iFrames wasn’t useful to me.

    Jelly:

    <script type="text/javascript">
     function resizeFrame(f) {
      var i = document.getElementById(f);
      var s;
      s = 100;
      i.style.height = s;
      s = i.document.body.clientHeight;
      //Some odd Javascript re-sizing here, works fine in the debugger..
      var ss = s/2.5;
      i.style.height = ss+"px";
    }
    </script>
    
    <table width='100%'>
       <j:forEach items="${it.result.getHtmlLogPath()}" var="i" indexVar="index">
        <tr>
           <td width='100%'>    
             <iframe id="myFrame${index}" src="${i}" width="100%" frameborder="0" onload="resizeFrame('myFrame${index}');"/>
           </td>
        </tr>
      </j:forEach>
    </table>    
    

    This is working for my basic requirements at the moment, if I get a chance I’ll genericize the plugin for other to work with.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm testing a C++ class with a number of functions that all have basically
I have three classes that all have a static function called 'create'. I would
HI All, We have a .Net 2.0 application which has a MySQL backend. We
I have an application that gets installed with a Wise installer (EDIT: Wise creates
I have a Silverlight application that uses WCF RIA Services. I'd like to be
My colleague and I have a web application that uses Spring 3.0.0 and JPA
If we have <include name=web > and <include name=weekend > , TestNG runs all
I have created a bunch of movie clips which all have similar names and
I have a bunch of projects in parallel subdirectories that all have etc/lighttpd.conf files.
I have a MFC dialog with 32 CComboBoxes on it that all have the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.