Multiple Pipelines in the queue using same executors and one goes offline

2018-02-12 Thread 'Brownjay' via Jenkins Users
Hi, I feel like this is certainly a situation someone has run into before but I haven't been able to think up a non-trivial solution for my use case: - Lets say I have two pipelines, P1 and P2, that do stuff and both need the same two executors/slaves/nodes A and B - P1 enters the queu

Re: new File is adding C: to the path of a linux container

2018-02-15 Thread 'Brownjay' via Jenkins Users
Hello, I think the problem that you are experiencing can be explained here . Basically, you can't use new File to create files in the slaves workspace (using the new File call will only do file things on the master). To do file interactions in th

Re: new File is adding C: to the path of a linux container

2018-02-15 Thread 'Brownjay' via Jenkins Users
Also, depending on what your goals are in the future, you may want to use the findFiles which is part of the pipeline utility steps plugin

Re: Multiple Pipelines in the queue using same executors and one goes offline

2018-02-15 Thread 'Brownjay' via Jenkins Users
Wanted to expand and sort of answer the questions I asked here. - One solution, which is probably the best solution, is to dynamically add more A and B resources. If you can spin up new resources then you're guaranteed to have online, not running nodes which Jenkins can then just

Re: Trigger/call builds on other projects...

2018-03-22 Thread 'Brownjay' via Jenkins Users
I believe this is what you're looking for: https://wiki.jenkins.io/display/JENKINS/Parameterized+Trigger+Plugin On Wednesday, March 21, 2018 at 5:29:26 PM UTC-6, aaron.t...@total.care wrote: > > I cant find this option in the plug-ins on the newer version. Has it > changed to something else?