Re: How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-30 Thread Vitaly Karasik
I'd like to mark *whole* pipeline job as throttling resource; and unlike freestyle jobs, Throttleling plugin does't know to do that. I.e. I cannot use "throttle" in pipeline options. On Wednesday, January 30, 2019 at 7:47:20 PM UTC+2, Den Slobozhanskyi wrote: > > Just to clarify - does it mean t

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" > } > """ > > On Tue, Jan 29, 2019 at 7:08 AM Panneer > > wrote: > >> Hi

Re: Pass the data thru variable using curl command

2019-01-30 Thread panneerrselvam natarajan
Thanks David. -v option helped me to fix the issue. Regards Panneerr > On Jan 22, 2019, at 4:23 PM, David Karr wrote: > > I suggest you add "-v" to the curl command-line options and then print the > "sresponse" variable. > > On Tue, Jan 22, 2019 at 11:15 AM N Panneerrselvam

Re: How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-30 Thread Den Slobozhanskyi
Just to clarify - does it mean that Throttling plugin throttles not the job as a whole, but each step in parallel? My assumption was that throttling is only for the job, and nested threads have nothing to do with throttle. By your words it looks like setting throttling to "1" for the job reduce

Docker Plugin Release?

2019-01-30 Thread Daniel O'Brien
The github repo issue tracker said to open discussions here that aren't directly related to the code. Is there anyone we can make a request of to cut a new release for the Docker Plugin? There's fixed merged in in December for the bug we are constantly hitting via the attach method due to restr

How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-30 Thread Vitaly Karasik
I have multibranch job, whole pipeline runs on certain node. Currently I have a slaves with single executor, so multiple jobs cannot run on the same node. I'd like to use parallel steps inside my pipeline, so I need to increase number of executors. What is the best way to prevent concurrent

Re: How to set "Environment variables" in "Global properties" of global Jenkins configuration programmatically?

2019-01-30 Thread Cristian Banarescu
Hey man! Your solution also worked for me! Thank you very much! miercuri, 25 februarie 2015, 22:39:06 UTC+2, Victor Volle a scris: > > I have a partial *solution, *when I have already enabled Global > Properties: > > >

Re: copy file from Mac server to Windows share server via jenkins job

2019-01-30 Thread Slide
You can look into the publish-over-cifs plugin, though if you are using pipeline, you could also install smbclient and send files that way as well. You can use the snippet or directive generator to generate the code for the publish-over-cifs-plugin. On Wed, Jan 30, 2019 at 12:52 AM Pradeep Drall