Re: Insert or replace a character in a string at a certain position

2019-01-30 Thread Panneer
Thanks Jan. Multi-line string helped me. Regards Panneer On Tuesday, January 29, 2019 at 8:05:47 AM UTC-7, Jan Monterrubio wrote: > > Groovy multi-line string uses 3 " > > so > > def jsony = """ > { > "myJson": "isjson"

Re: Insert or replace a character in a string at a certain position

2019-01-29 Thread Panneer
Hi, correct. I am using JSON format only.. But jenkin not accepting your suggested format . Already i tried. Thanks Panneer On Tuesday, January 29, 2019 at 12:13:37 AM UTC-7, Xiaojie Zhao wrote: > > Are you going to use this as a json string? You might consider the below >

Re: Insert or replace a character in a string at a certain position

2019-01-29 Thread Panneer
On Monday, January 28, 2019 at 5:47:10 PM UTC-7, Panneer wrote: > > Hi All, > > I want to insert a character in a string at a certain position in Groovy > pipeline. e.g is here below > > sam1 = {"ttd1": [{:php2val2"}:{"Version" : "02.02.4

Insert or replace a character in a string at a certain position

2019-01-28 Thread Panneer
t;: [{\"php2val2\"}:{\"Version"\ : \"02.02.42\"} Please guide me on this.. I tried with replaceAll but not working. Regards Panneer -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from thi

Insert or replace a character in a string at a certain position

2019-01-28 Thread Panneer
Hi All, I want to insert a character in string at a certain position in pipeline script. Please help Regards Panneer -- 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 i

How do I include special characters like [,[ and . cURL POST data?

2019-01-23 Thread Panneer
Hi All, How do i pass special characters [,[ and . and data thru cURL POST data? . Environment: Jenkins pipeline. Thanks Panneer -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving e

Re: Pass the data thru variable using curl command

2019-01-23 Thread Panneer
; def Sresponse = sh script: second_Req, returnStdout: true echo "Final request " + second_Req The above fresponse works fine with postman and SOUPUI. ' Regards Panneer On Wednesday, January 23, 2019 at 6:41:41 AM UTC-7, Björn Pedersen wrote: > > > > Am Dienstag, 22

Re: Pass the data thru variable using curl command

2019-01-22 Thread Panneer
Hi Ram, Thanks for your response, Are you using any editor to validate before post it in pipeline? I am new.. can you suggest Regards Panneer On Monday, January 21, 2019 at 10:42:27 PM UTC-7, Ramanathan Muthaiah wrote: > > My request is here below:- >> >> def status = &quo

Re: Pass the data thru variable using curl command

2019-01-21 Thread Panneer
"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}' No error and no response received. Regards Panneer On Monday, January 21, 2019 at 9:50:19 AM UTC-7, David Karr wrote: > > > On S