The perform
<http://javadoc.jenkins-ci.org/jenkins/tasks/SimpleBuildStep.html#perform-hudson.model.Run-hudson.FilePath-hudson.Launcher-hudson.model.TaskListener->
method gets the TaskListener
<http://javadoc.jenkins-ci.org/hudson/model/TaskListener.html> as a
parameter.
So listener.getLogger().println("Hello World")
/B
On Fri, May 5, 2017 at 5:07 AM, JordanGS <[email protected]> wrote:
> If i have a post build step, how do i get it to output to the Builds *Console
> Output *or at least to the terminal window which started jenkins? Thanks
>
> --
> 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].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/a7363e76-acd9-4351-b010-1e7c2fc707f0%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/a7363e76-acd9-4351-b010-1e7c2fc707f0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS2Mnk6FnqNH8H40m%2BjjiY-MExOaoJUvjpbMK805fjmFag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.