Re: [Config File Provider Plugin] how to use plugin in pipeline

2017-01-10 Thread Evgeniy Maksimenko
up -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google

Re: Jenkins with a DB?

2017-01-10 Thread David Karr
On Tue, Jan 10, 2017 at 9:00 PM, Gauthami Thyagrajan wrote: > HI Veena, > > Even i am trying to do the same. Have you got any solution for this? > > If you got can u please let me know. > > Thanks, > Gauthami T > > On Monday, October 12, 2015 at 8:29:06 PM UTC+5:30, MV wrote: >> >> Hi Jonatha

Re: Jenkins with a DB?

2017-01-10 Thread Gauthami Thyagrajan
HI Veena, Even i am trying to do the same. Have you got any solution for this? If you got can u please let me know. Thanks, Gauthami T On Monday, October 12, 2015 at 8:29:06 PM UTC+5:30, MV wrote: > > > Hi Jonathan, >>> >> > I am looking for ways to extract code coverage details from the jenki

Re: Maximum number of executors?

2017-01-10 Thread Stephen Connolly
Please take a look at my Jenkins world talk. All the answers you want. On Mon 9 Jan 2017 at 23:45, Jakov Sosic wrote: > Hi guys, > > > > I'm wondering what is the highest number of executors on a single > > jenkins master instance that you have seen? > > > > What number of executors is some kin

Re: Choose more than one agent at a time

2017-01-10 Thread Indra Gunawan (ingunawa)
I am curious if you can play around with https://wiki.jenkins-ci.org/display/JENKINS/Least+Load+Plugin. Once this plugin is installed, it simply replaces the default behavior of Jenkins wrt assigning task/workload to node. From: on behalf of Sam K Reply-To: "jenkinsci-users@googlegroups.co

Re: Choose more than one agent at a time

2017-01-10 Thread Sam K
BTW, concurrency is deprecated. On Tuesday, January 10, 2017 at 11:22:48 AM UTC-8, Indra Gunawan (ingunawa) wrote: > > Are you saying that the stages in pipeline should run on the other node? > > Between stages, I do not see how can you tell Jenkins to use different > node in the label. > >

Re: Choose more than one agent at a time

2017-01-10 Thread Sam K
Yes. I am using parallel blocks. Within the parallel block is a task that has node('jenkins-slave') and I want that to run on a different slave. Instead, what i've seen is that if there are 10 parallel steps to be executed, it executes all of them on the 10 executors on the same slave. Ther

Re: Choose more than one agent at a time

2017-01-10 Thread Indra Gunawan (ingunawa)
Are you saying that the stages in pipeline should run on the other node? Between stages, I do not see how can you tell Jenkins to use different node in the label. Jenkins has this default tendency to use node last used too for load balancer. For multiple task in parallel, you use “parallel”. Fo

Re: Memory leak (groovy)

2017-01-10 Thread Sam K
Is the 'groovy sandbox' checked for all jobs? If you've allowed groovy code to be executed outside of the sandbox, its possible one of the pipelines is using a non-white-listed groovy command that is bringing down Jenkins server. Just talking from my personal experience. On Friday, January

Choose more than one agent at a time

2017-01-10 Thread Sam K
How can I tell Jenkins pipeline to pick up more than one agent at a time if they are free? I see there are ways to do this with the normal jobs. But I'm looking for options in the coded pipeline method. I have two slaves with the same label called 'jenkins-slave'. I have setup all nodes to

Re: Loading scripts from Workflow resources

2017-01-10 Thread Indra Gunawan (ingunawa)
In Jenkins 2.x you go to “Manage Jenkins” -> “Configure System” and configure the “Global Pipeline libraries” SCM location: [cid:image001.png@01D26B2A.893ADB60] From: on behalf of Mark Bidewell Reply-To: "jenkinsci-users@googlegroups.com" Date: Tuesday, January 10, 2017 at 9:57 AM To: Jenkin

Enable Pull Requests tab on the blue ocean view of jenkins

2017-01-10 Thread Jesse Redl
This is hopefully the correct forum for such questions. Within the new Blue Ocean ui there exists a pull requests tab. Is there extra configuration one needs to perform to enable this tab? Or have our pull requests appear here? I can see the pull requests under our Github organization view wit

Re: Loading scripts from Workflow resources

2017-01-10 Thread Mark Bidewell
Thanks, I do #2 right now, but the scripts are in a separate version control. What I would like to do is have the scripts checked out by Jenkins with the external library so that they are auto-updated. Is there a variable or step that gives the path to the location where the library files are

Build Queue Sorting

2017-01-10 Thread 'Volker Gimple' via Jenkins Users
Hi, I am looking after a Jenkins server with roughly 300 projects. Those projects reflect different aspects of a software product, ranging from static libraries that are only used internally, shared libraries that are part of the product, several executables, documentation, tutorial programs and

Re: Repository connection Issue

2017-01-10 Thread Sam
This was caused due to having the incorrect user set in my .ssh/config On Monday, January 9, 2017 at 3:16:08 PM UTC, Sam wrote: > > Hi all, > > I have a private repo using gogs and trying to setup a connection from my > jenkins project via http but getting the following error: > > Failed to conne

Re: Loading scripts from Workflow resources

2017-01-10 Thread Ramanathan Muthaiah
On Tuesday, January 10, 2017 at 7:08:01 PM UTC+5:30, Mark Bidewell wrote: > > I am looking at the external libraries capabilities of Jenkins Workflow. > Our workflow uses python scripts for portions of the build process. Can > this scripts be stored as resources and a path to them retrieved v

Loading scripts from Workflow resources

2017-01-10 Thread Mark Bidewell
I am looking at the external libraries capabilities of Jenkins Workflow. Our workflow uses python scripts for portions of the build process. Can this scripts be stored as resources and a path to them retrieved via workflow? Right now the scripts are in a directory on the server not under Jen

Re: Get the root directory of node in Pipeline

2017-01-10 Thread Kristian
I had to change the nodeRootDir() a little bit, but this way works for me: @NonCPS def nodeRootDir(nodeName) { for (node in Jenkins.instance.nodes) { if (!nodeName.equals('master') && node.name.compareTo(nodeName) == 0 ) { return node.getRootPath()