Re: Pipelines, github fork models and the Jenkinfile

2016-08-13 Thread Arvind Jayaprakash
Comments inline On Sunday, August 14, 2016 at 7:05:57 AM UTC+5:30, Mark Waite wrote: > > I don't think what you want is available. > > You can construct a job which defines the pipeline script for execution in > that job. > This is straightforward as the existing job dsl plugin permits instanti

Re: Pipelines, github fork models and the Jenkinfile

2016-08-13 Thread Mark Waite
I don't think what you want is available. You can construct a job which defines the pipeline script for execution in that job. You can construct a job which automatically defines jobs for every branch where it finds a pipeline script and it will execute that script. You can construct a job which

Re: Issues with Git plugin and Bitbucket

2016-08-13 Thread Daniel Guisinger
Just tried ssh and it works (YAY)... Thanks for the help arggg, I hate not knowing why something simple doesn't work... On Saturday, August 13, 2016 at 6:30:53 PM UTC-5, Mark Waite wrote: > > Unfortunately, you've exhausted my guesses. You might try ssh protocol > instead of https? > > Mark Wa

Re: Issues with Git plugin and Bitbucket

2016-08-13 Thread Mark Waite
Unfortunately, you've exhausted my guesses. You might try ssh protocol instead of https? Mark Waite On Sat, Aug 13, 2016 at 5:22 PM Daniel Guisinger wrote: > Just tried that, it didn't work either :( > > Started by user Dan Guisinger > Building

Re: Issues with Git plugin and Bitbucket

2016-08-13 Thread Daniel Guisinger
Just tried that, it didn't work either :( Started by user Dan Guisinger Building in workspace /var/lib/jenkins/workspace/test > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.or

Re: Issues with Git plugin and Bitbucket

2016-08-13 Thread Mark Waite
I recently had to switch my bitbucket credentials from using the "username" based credential (markewaite) to the e-mail based credential because I was upgraded from one form of authorization to a different form. Have you tried using your e-mail address and password in the credential instead of you

Re: Issues with Git plugin and Bitbucket

2016-08-13 Thread Daniel Guisinger
Sorry Mark, thats exactly what i was doing. Like I said, it works the instant I mark the repository public, and the credentials drop down isn't working, I select the credentials but it still fails to authenticate. It even gives me a red error message in the UI (See attached screenshot) I didn

Re: Issues with Git plugin and Bitbucket

2016-08-13 Thread Mark Waite
I assume you're using https rather than http protocol for the URL. If not, then that is worth trying. Is there a reason you're not using the URL https://bitbucket.org/username/reponame (like https://bitbucket.org/markewaite/git-client-plugin or https://bitbucket.org/markewaite/bin) and then placi

Re: How can I get Jenkins on Linux to do builds on Windows machines without Active Directory?

2016-08-13 Thread jpd4nt
Which version of jenkins are you using? Which plugin a you using to manage the Windows slave? We use Windows build slaves on AWS with no AD with not problems with the ec2-plugin, before that with v1 of jenkins there was jnlp which made POC easy to get up and running but with v2 thats gone but th

Issues with Git plugin and Bitbucket

2016-08-13 Thread Daniel Guisinger
Hey guys, I am hitting my head against the wall with what should be an extremely easy thing to get working I'm trying to use the git scm interface in jenkins to pull down a test project off bitbucket. I keep getting authentication errors. I have setup my username/password in the credential

Pipelines, github fork models and the Jenkinfile

2016-08-13 Thread Arvind Jayaprakash
I seem to have developed a love/hate relationship with Jenkins 2.x pipelines and some of the concepts that it imposes. Hence, I'd like to hear how best operate in the new world. The one thing I'd like to make clear before I get into the details is that I am suggesting that this the only right w

Re: Best practices: many distinct jobs vs parameterized jobs

2016-08-13 Thread work
I follow the principle of "*one job per codebase (git repo)*". The problem with reusing the same job across multiple codebases is that it makes any and every trend data invalid for the job in question. By trend data, I mean things such as - Build success rates - Average build times - T

What are industry standard ways of managing server logins that Jenkins does for its builds?

2016-08-13 Thread Kiran
Does anyone know what percentage of enterprises with Jenkins use the different authentication methods for their builds? I would like to know what is common and what is not. For example, are enterprises using the following methods in equal 25% portions? "Manage credentials" the native Jenkins

Re: Jenkins nginx timeout

2016-08-13 Thread Daniel Beck
Start here: https://wiki.jenkins-ci.org/display/JENKINS/Obtaining+a+thread+dump > On 12.08.2016, at 17:24, Mohamed Sadok Ben Jazia > wrote: > > Something to add, > The server consumes a lot of CPU, it reachs 80% of 4CPU while loading the > project page the the load stops after showing the 504