What you see in console.jelly is basically it (the code is the
documentation ;) )

Some key methods in hudson.model.Run that it uses are getLogText() and
writeLogTo(...)

/B

On Mon, Sep 29, 2014 at 4:01 PM, <[email protected]> wrote:

> Hello,
>
> in my plugin I created an extra page with a button on it that is connected
> to a doConfigSubmit method in the java class.
> When the button is clicked several batch commands get executed.
> Until now I handle the console output like this:
>
> while ((line = bufferedReader.readLine()) != null) {
>                     myArrayList.add(line);
>                 }
>
> -> get every single line and put it in a list
> -> when the whole execution is finished display the list on the page
>
> This is quite okay, but especially when the execution takes a lot of time
> the user doesn't know if there is anything happening because the output
> won't be shown until the very end.
> It would be cool to have a progressive output just like happens in the
> console output while building a project.
> I know there are console.jelly, progressiveText.jelly and LargeText.java
> that must have got something to do with what I want to achieve.. but I
> can't figure out what parts to use in my own files.
>
> Does anyone know about that issue? :)
>
>  --
> 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/d/optout.
>



-- 
Robert Sandell
*Software Engineer*
*CloudBees Inc.*

-- 
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/d/optout.

Reply via email to