I put something together by looking at the code of the Branch API plugin. 
It's not yet doing everything I want it to do.. but we're getting there.


Am Montag, 29. September 2014 16:01:14 UTC+2 schrieb jenkin...@gmail.com:
>
> 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 jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to