Re: Jenkins ui not loading sometimes

2016-06-30 Thread Re
You may find the thread dump here - http://pasted.co/b767d9d4 Password - jenk!@# Thanks, Rumesh On Wed, Jun 29, 2016 at 12:29 PM, Baptiste Mathus wrote: > IIUC you sent the thread dump to Daniel privately. I doubt very much this > is what he was meaning. More probably:

Re: Set a default branch if it doesn't exist downstream

2016-06-30 Thread Baptiste Mathus
I don't think there's a way to do that in the UI of a freestyle job in the SCM part. But if needs be it should be pretty easy to do it in a dedicated shell step. Using a pipeline script, it would be also very simple (as what you want can be expressed with a seemingly simple condition). Cheers Le

Re: Pipeline: connection is not authenticated

2016-06-30 Thread 'Björn Pedersen' via Jenkins Users
>From the error message it looks like a jgit acces. I think the buitl-in jgit will not read the ssh key unless it is stored in the credentials( as it seems from your description, all user pub keys are allowed, so you just need to add the user 'jenkins' private key (not the git one). Björn Am

Re: Proper practice to migrate multi-configuration (matrix) job to pipeline job?

2016-06-30 Thread Mark Waite
https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md includes a section on "Creating Multiple Threads". It seems like that might be one way to accomplish the permutation of models and variants that you need. I think you would define the values of the models and variants, then

SVN: svn can't read nor write cached credentials by using windows-cryptoapi

2016-06-30 Thread Dirk Hasselmann
We use as client windows 7, cygwin with SSHD, Jenkin: 1.642 and Windows slave: 2.53.2 via SSH. In case we want to access to SVN while processing a build step we use svn.exe (CollabNet client) to access our SVN. To logon we can't use the cached credentials and use secret text as work around. But

Re: Pipeline: connection is not authenticated

2016-06-30 Thread Sverre Moe
Is there no way to use Multibranch Pipeline without using stored Credentials on the GitSCMSource? On other project types it is enough that the jenkins user's public key is stored on the git server. onsdag 29. juni 2016 08.54.15 UTC+2 skrev Sverre Moe følgende: > > Our git remote server is

Re: JDK Installer Groovy script

2016-06-30 Thread Stijn Diependaele
Hey Mike, We decided not to download from Oracle. Instead we have a local repo and we use puppet to manage/install the java package. So I did it like in the script above by setting the name and the path where java is installed. It's better to have a local repo and use this one instead. But if

Re: Jenkins plugins to push tags to git repo after successful builds

2016-06-30 Thread Mark Waite
The git plugin has the git publisher post build action which can publish a tag. On Thu, Jun 30, 2016 at 7:21 AM piyush joshi wrote: > Hi, > > Is there any Jenkins plugins to push a tag to a git repo after successful > build creation as a post build step. > > Thanks >

Re: Git fetch intermittently fails

2016-06-30 Thread Jérémie Faucher-Goulet
I will try that, but I believe this is more of a consequence of the issue I'm having rather than the cause. I'll monitor more closely what's happening and keep a longer build history to see if a pattern shows up. Any suggestion on what I should try or do to investigate this further? Regards,

Re: Jenkins ui not loading sometimes

2016-06-30 Thread 'Björn Pedersen' via Jenkins Users
Hi, I see lots of "Handling POST /jenkins/view/Dashboard/timeline/data/ from : http-bio-8080-exec-643" Id=40861 Group=main BLOCKED on hudson.model.RunMap@1e73d746 owned by "Handling POST /jenkins/view/Dashboard/timeline/data/ from : http-bio-8080-exec-547" Id=40663 in the dump. That

Proper practice to migrate multi-configuration (matrix) job to pipeline job?

2016-06-30 Thread Rick Liu
I'm planing to migrate Jenkins1 multi-configuration (matrix) job to Jenkins2 pipeline (-as-Code) approaches, but it seems the pipeline job and multi-branch pipeline job don't support multi-configuration (matrix) job directly. What's the best practice to achieve this? Assume my project has 100+

Re: Set a default branch if it doesn't exist downstream

2016-06-30 Thread Antonio Hernandez
Please nobody with same the problem, past or suffering now? It's important fix it in my company asap any help is welcome ans highly appreciated El miércoles, 29 de junio de 2016, 12:50:23 (UTC+2), Antonio Hernandez escribió: > > Hi everyone > > > Details: > > Our Jenkins build job uses Git

Re: Jenkins triggers builds even though there are no changes in the SCM, at the interval set to poll.

2016-06-30 Thread justemail8615
Hi, Even I am facing similar issue . Using : Team Foundation Server Plug-in 4.1.1-SNAPSHOT (private-05/25/2016 19:32-admin) , Multiple SCMs plugin 0.6 version , Jenkins 1.653 I have configured Multiple scm with 2 TFS SCM details with different Project Path. In TFS, when I configure polling for

Re: How exactly does stash / unstash work AND how to use the same node in different stages

2016-06-30 Thread Baptiste Mathus
For your second question, is that somehow what you have in mind: https://github.com/batmat/jez-jobs/blob/47d63519b5232d6cd0c57e149b6cd57032c0d9a0/resources/naive-parallel.groovy#L7L11 Here I "prebuild" the sources, triggering also the download of the dependencies before stashing it to unstash

How exactly does stash / unstash work AND how to use the same node in different stages

2016-06-30 Thread Christian Ditscher
Hello, I was wondering how exactly the stash unstash commands work. When are the files transferred? - stash transfers selected files to master and unstash loads them from master to a slave? - stash attaches a label to the files which are transferred between the nodes when

Re: Abort hanging!

2016-06-30 Thread Baptiste Mathus
Did you try clicking the links saying: "Click here..." ? Le 30 juin 2016 3:09 PM, "Vishal Biyani" a écrit : > Hi, > > I have a hanging job in Jenkins2 which does not go away no matter what I > do. I tried all "X" buttons but they are not stopping the job. Although log >

Re: Jenkins ui not loading sometimes

2016-06-30 Thread Re
Hi Björn, Thanks for the reply. Can you describe bit about what do you mean by "timeline data and stalls ui updates"? Does the timeline data related to a plugin? On Thu, Jun 30, 2016 at 12:40 PM, 'Björn Pedersen' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Hi, > > I see lots

Re: Abort hanging!

2016-06-30 Thread Vishal Biyani
Yes, did click on it multiple times but that did not help. On Thursday, 30 June 2016 20:55:08 UTC+5:30, Baptiste Mathus wrote: > > Did you try clicking the links saying: > "Click here..." > ? > Le 30 juin 2016 3:09 PM, "Vishal Biyani" > a écrit : > >> Hi, >> >> I have a

Re: Jenkins plugins to push tags to git repo after successful builds

2016-06-30 Thread Kanstantsin Shautsou
If you are keeping credentials in GIT Scm configuration you should use git publisher. If not then you can create a trick with anybuildstep-plugin and do pushes from shell execution. On Thursday, June 30, 2016 at 4:21:05 PM UTC+3, piyush joshi wrote: > > Hi, > > Is there any Jenkins plugins to

High CPU usage with Gerrit Trigger plugin

2016-06-30 Thread Will Saxon
Hello, We are consistently seeing very high CPU usage on our Jenkins master (1.651.1) related to the Gerrit trigger. We are running Jenkins on Linux (Ubuntu 14.04) using the included Jetty container. We're not sure what specifically is causing this, but frequently the Jenkins process will

Only execute a job on a node when no other jobs are running?

2016-06-30 Thread brendan
I want to execute a given job (this one is a system cleanup job), on a jenkins node that has many executors on it. However, I only want the job to run once there are no other jobs being executed. What's the best way to achieve this? -- You received this message because you are subscribed to

Re: Git Polling fails after upgrade

2016-06-30 Thread Mark Waite
You need to upgrade the workflow pipeline components in addition to the git plugin. The git workflow SCM step really belongs inside the git plugin, so we moved it there as part of git plugin 2.5.0. On Thu, Jun 30, 2016 at 10:55 PM Lionel Orellana wrote: > Not related to my

Re: Git Polling fails after upgrade

2016-06-30 Thread Lionel Orellana
Not related to my original problem which was fixed with one of the latest builds, there is an issue with the Git plugin. I get the errors I mentioned before when upgrading to 2.5.0 even with jenkins core 2.12-SNAPSHOT. Manually reverting back to Git plugin 2.4.4 works. On Friday, 1 July 2016

Re: Git Polling fails after upgrade

2016-06-30 Thread Mark Waite
Looks like that might be fixed in the latest source code. Refer to https://github.com/jenkinsci/jenkins/commit/6d29dd4554345aed2905e8ab32da678e301736a7#diff-b2027094e76e9b99db901e8cd779e580 . Seems to be documented as a bug in Jenkins 2.11, https://issues.jenkins-ci.org/browse/JENKINS-36232 .

Re: Git Polling fails after upgrade

2016-06-30 Thread Mark Waite
You need to upgrade the workflow pipeline components in addition to the git plugin. The git workflow SCM step really belongs inside the git plugin, so we moved it there as part of git plugin 2.5.0. Mark Waite On Thu, Jun 30, 2016 at 9:40 PM Lionel Orellana wrote: > Thanks

Re: Git Polling fails after upgrade

2016-06-30 Thread Lionel Orellana
If I upgrade the Git plugin to 2.5.0 from 2.4.4 I get SEVERE: found cycle in plugin dependencies: (root=Plugin:git, deactivating all involved) Plugin:git -> Plugin:workflow-scm-step -> Plugin:git and all hell breaks loose. WARNING: Failed to load

Re: Git Polling fails after upgrade

2016-06-30 Thread Lionel Orellana
Thanks Mark. On Friday, 1 July 2016 13:28:40 UTC+10, Mark Waite wrote: > > Looks like that might be fixed in the latest source code. Refer to > https://github.com/jenkinsci/jenkins/commit/6d29dd4554345aed2905e8ab32da678e301736a7#diff-b2027094e76e9b99db901e8cd779e580 > . > > Seems to be