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
Okay.. I'll try, really.
So, I included the main-panel section of the console.jelly in my own page,
where I want the console output of some batch commands to be shown.
The Console Output heading is displayed - so far so good. Now, it
points of course to my Java class, while the methods
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) {
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, jenkinsuse...@gmail.com wrote:
Hello,
in my plugin I created an extra page with a