Do you mean ?
send \"${varSecretText}\n\" 

-->  it has {}

or do you mean

puts "SECRET $varSecretText"

--> it worked 

SECRET ****

On Thursday, May 16, 2019 at 6:19:57 AM UTC+2, Mark Waite wrote:
>
> I'm accustomed to seeing variable references in groovy strings as 
> "${variablename}", while it seemed in your example you were referencing it 
> as "$variablename".  Is that an intentional difference, or accidental?
>
> On Wed, May 15, 2019 at 9:14 PM b o b i <[email protected] <javascript:>> 
> wrote:
>
>> It is a single line secret, but it wont work :|
>>
>> On Wednesday, May 15, 2019 at 7:31:27 PM UTC+2, Ivan Fernandez Calvo 
>> wrote:
>>>
>>> If your secret is multiline, the secret text does not work as expected, 
>>> you could store the one line base64 value of your secret and decode it 
>>> before send it, it could work
>>
>> -- 
>> 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/85dc81a4-6206-4286-9578-42f1bec2fcfb%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/85dc81a4-6206-4286-9578-42f1bec2fcfb%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Thanks!
> Mark Waite
>

-- 
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/927f796d-71ea-421c-b4e0-d7f541b6eaed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to