Jenkins v2.15 with Git plugin v2.5.2

2016-07-28 Thread Antonio Hernandez
Hi there, I'm living a nightmare because Git plugin behaviour. I have a proyect with mutiple SCMs with the following configuration: so, it's setted to build a w

locking workspaces for debugging

2016-07-28 Thread arul prakash
Hi, I have a scenario where I want to lock my workspace when a build fails in that workspace for debugging it later. I have one job to many workspaces mapping. So for the new instance of the job it should not pick the workspace where the build failed. How can I achieve this. Are there plugins

Re: Groovy script other script tools functions

2016-07-28 Thread jerome
If this may help someone, here's my finding so far (I must admit I found Groovy inside Jenkins to be painful and by far one of my less favorite scripting language so far, especially loosing my head with a few things. Here's some traps I found: - the .each fct bug that iterating only once (w

Re: EnvInject - groovy script in Jenkins 2.x

2016-07-28 Thread Simona Avornicesei
A new update. I fixed the "The class 'FileSearch' has an incorrect modifier static." - the static class must be embedded in another class. Here's the gist . Now I'm left with 2 other issues: 1. at build time (isDebugMode =

Re: How to get Jenkins 2.0 multi branch pipeline and bitbucket 4.8.1 web hook working?

2016-07-28 Thread Otávio Augusto Soares
Have you tried using the "Trigger builds remotely (e.g., from scripts)", setting a token and then add a webhooh to http://JENKINS_URL/job/JOB_NAME/build?token=TOKEN Unfortunately it's not working for me because I've secured my jenkins and get 403. But you can try. Em sexta-feira, 22 de julho d

Re: How Do You Manage Growth?

2016-07-28 Thread rqui
That brings up another point...how does handling growth and implementing cloud (private or public) play a part as well? On Thursday, July 28, 2016 at 9:53:35 AM UTC-7, rqui wrote: > > I am seeking some advice/tips. Our group is experiencing fast growth and > changes and I am trying to architect

Re: How Do You Manage Growth?

2016-07-28 Thread rqui
Yes, we have 10+ nodes; nothing builds on the master. On Thursday, July 28, 2016 at 1:37:29 PM UTC-7, Baptiste Mathus wrote: > > The question is also: do you have agents, as hinted by Tyler, or do you > build all ze things on that sole machine. > > If no agent, or anyway, see also the recent thre

Re: How Do You Manage Growth?

2016-07-28 Thread Baptiste Mathus
The question is also: do you have agents, as hinted by Tyler, or do you build all ze things on that sole machine. If no agent, or anyway, see also the recent thread: https://groups.google.com/d/msgid/jenkinsci-users/3a038f29-5221-4830-80ae-ca5a70c7ccc7%40googlegroups.com?utm_medium=email&utm_sourc

Re: How Do You Manage Growth?

2016-07-28 Thread rqui
Also, how many users do you have in your Jenkins? On Thursday, July 28, 2016 at 11:31:42 AM UTC-7, Simona Avornicesei wrote: > > We have a single Jenkins master. > Depending on the needs of each team/project, they either have one or more > slaves/agents assigned exclusively for their jobs or the

Re: How Do You Manage Growth?

2016-07-28 Thread rqui
Do you only have the two teams? How do you manage the multiple nodes? Also how many users do you have using Jenkins? On Thursday, July 28, 2016 at 12:34:02 PM UTC-7, R Tyler Croy wrote: > > (replies inline) > > On Thu, 28 Jul 2016, rqui wrote: > > > I am seeking some advice/tips. Our group is e

Re: How Do You Manage Growth?

2016-07-28 Thread rqui
How many teams use Jenkins and how many total nodes are used? On Thursday, July 28, 2016 at 11:31:42 AM UTC-7, Simona Avornicesei wrote: > > We have a single Jenkins master. > Depending on the needs of each team/project, they either have one or more > slaves/agents assigned exclusively for their

Re: How Do You Manage Growth?

2016-07-28 Thread R. Tyler Croy
(replies inline) On Thu, 28 Jul 2016, rqui wrote: > I am seeking some advice/tips. Our group is experiencing fast growth and > changes and I am trying to architect a solution for managing it. > > We currently have a single master handling various types of jobs: ci, > nightlies, releases, pers

Re: How Do You Manage Growth?

2016-07-28 Thread Simona Avornicesei
We have a single Jenkins master. Depending on the needs of each team/project, they either have one or more slaves/agents assigned exclusively for their jobs or they share the same agent with other projects (usually projects from the same client). -- You received this message because you are su

How Do You Manage Growth?

2016-07-28 Thread rqui
I am seeking some advice/tips. Our group is experiencing fast growth and changes and I am trying to architect a solution for managing it. We currently have a single master handling various types of jobs: ci, nightlies, releases, personal dev builds, etc. Using OSS, does anyone have experience

Groovy script other script tools functions

2016-07-28 Thread jerome
Hi, First of, I'm totaly new to the Groovy thing (I'm not a Java dev either, I'm a C/C++/C#/Python/Bash guys). I'm trying (without any success so far) to use a common files between my JenkinsFiles as Tools.groovy to have a single implementation for them. I'm having problems to just find out wh

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-28 Thread Dan QAmbox
This is the EXACT behavior I am seeing. I have tried to update my NGNIX proxy but no matter what I change, its still not working. Can you provide what your ngnix configs look like so I can see where I might be off. Also note our jenkins box does not use jenkins in the DNS name. Doubt that shoul

Re: Multibranch Pipeline Jenkinsfile job script not seeing Credentials

2016-07-28 Thread Francis Lalonde
Looking at the code, it is not clear to me what the workaround would be - Although somewhat experienced as a user, I am not knowledgeable about Jenkins internals. Would this be global configuration or a system property? Also,because this is a managed, shared Jenkins installation for which I am

Performance issue of blue ocean with large job count

2016-07-28 Thread John D. Ament
We have a large number of jobs in our jenkins. Very few of them are actual pipelines though. Looking at blue ocean, it seems like it should only be picking up pipelines. The response to load the initial JSON is > 1 minute and is very slow to render. Is there any way to cut down the jobs bein

Re: BlueOcean JavaScript Error

2016-07-28 Thread John D. Ament
Removing cucumber did fix it. On Thursday, July 28, 2016 at 7:11:02 AM UTC-4, John D. Ament wrote: > > Experimental update with Jenkins 2.15. looks like a compatibility issue > with cucumber though. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" g

Re: scm.gitTool in Jenkinsfile

2016-07-28 Thread Nigel Magnay
Aha - I have found it. BTW - I was already expecting it to be the tool name itself in the manner you're describing (sorry if I wasn't clear about that). If I do the following: echo scm.gitTool; scm.gitTool = 'win-git'; echo scm.gitTool; ​The 1st run through I get Scripts not permitted to use

Re: scm.gitTool in Jenkinsfile

2016-07-28 Thread Mark Waite
I wonder if the sematnics of scm.gitTool are closer to the GitTool object semantics inside the git plugin. GitTool inside the git plugin allows job owner to choose which git implementation will be used. It doesn't allow the job owner to specify the destination of the git executable. You might tr

Re: BlueOcean JavaScript Error

2016-07-28 Thread John D. Ament
Experimental update with Jenkins 2.15. looks like a compatibility issue with cucumber though. -- 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+

Run tests inside Docker container with Jenkins

2016-07-28 Thread Yevhenii Kurtov
We want to give it a try to setup CI/CD with Jenkins for our project. The project itself has Elasticsearch and PostgreSQL as runtime dependencies and Webdriver for acceptance testing. In dev environment, everything is set up within one `docker-compose.yml` file and we have `acceptance.sh` script

Re: EnvInject - groovy script in Jenkins 2.x

2016-07-28 Thread Simona Avornicesei
Hello, I modified the script to use FilePath (since the job runs on a remote agent and, from my understanding, the groovy script is executed on master) - here 's the updated gist When run from Scriptler, I get the followin

Re: ow to add file to html content within newest version of jenkins email-ext plugin

2016-07-28 Thread Jonathann Zenou
Did you manage to solve this ? I have the same issue. Regards Jonathann On Tuesday, June 7, 2016 at 5:33:32 PM UTC+3, jianqi...@gmail.com wrote: > > Hi, > > I used to use the old version of email-ext plugin, and I could add html > content by input this command in Content place: > * ${FILE,path=

Re: Multibranch Pipeline Jenkinsfile job script not seeing Credentials

2016-07-28 Thread Stephen Connolly
Ooooh... I wonder if this is an unintended side-effect of Jesse's hack . You might be able to work around it if

Jenkins As service not able to connect to Git Lab through SSH

2016-07-28 Thread Ranjit kumar Kundu
Building in workspace C:\Program Files (x86)\Jenkins\jobs\ApiV1\workspace > C:\Program Files\Automation\Git\bin\git.exe rev-parse --is-inside-work-tree > # timeout=10 Fetching changes from the remote Git repository > C:\Program Files\Automation\Git\bin\git.exe config remote.origin.url > htt