Re: envinject plugin evaluated groovy script: how do I print text to the console?

2013-04-14 Thread Grégory Boissinot
The log is displayed in the Jenkins log.
>From EnvInject 1.84, I added an 'out' variable.

out << "Some text"
or
out.println("Some text")




On Fri, Mar 22, 2013 at 9:04 PM, bl0ck3r  wrote:

> I tried:
> System.out.println("some text")
> println("some text")
> manager.listener.logger.println("some text")
>
> and none of them work. How do I print text to the console from the
> evaluated groovy script of the envinject plugin?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




envinject plugin evaluated groovy script: how do I print text to the console?

2013-03-22 Thread bl0ck3r
I tried:
System.out.println("some text")
println("some text")
manager.listener.logger.println("some text")

and none of them work. How do I print text to the console from the 
evaluated groovy script of the envinject plugin?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.