This actually changes nothing:

Started by user ****** <http://navber-jenifer.ttg.global:8080/user/skalski>
Running: Allocate node : Start
Running on ******* in ********
Running: Allocate node : Body : Start
Running: Allocate node : Body : End
Running: Allocate node : End
Running: End of Workflow
Finished: SUCCESS




W dniu niedziela, 21 czerwca 2015 07:16:47 UTC+2 użytkownik Baptiste Mathus 
napisał:
>
> It goes in Jenkins logs.
> Just use println or echo without the System.out part.
>
> HTH
> Le 17 juin 2015 4:44 PM, "Arek Skalski" <[email protected] <javascript:>> 
> a écrit :
>
>> I have a sample script:
>>
>> class LogTest {
>>   def name
>>   tesst(aName) {
>>     name = aName
>>   }
>>
>>   def info(message) {
>>     System.out.println("$name $message")
>>   }
>>
>> }
>>
>> node ("myname") {
>>   def tt = new LogTest("name")
>>   tt.info("message")
>> }
>>
>> My output:
>>
>> Started by user anonymous <http://navber-jenifer.ttg.global:8080/user/null>
>> Running: Allocate node : Start
>> Running on myname in /location/Groovy_Test
>> Running: Allocate node : Body : Start
>> Running: Allocate node : Body : End
>> Running: Allocate node : End
>> Running: End of Workflow
>> Finished: SUCCESS
>>
>>
>> I am wondering how can I make it to see output of my info message inside 
>> jenkins console.
>>
>>
>>  -- 
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/28ebaabb-f366-4fb6-ad82-a2ff43d39751%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/28ebaabb-f366-4fb6-ad82-a2ff43d39751%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c1ef4208-cb03-4ff0-93c6-3dace69ee18c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to