Long delays in multibranch pipelines "Seen X remote branches"

2019-06-24 Thread David Resnick
Hi, We often see long delays during multibranch pipeline builds. The job shows Branch indexing > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to g...@github.com:foo/bar.git > git config remote.origin.url g...@github.com:foo/bar.git # timeout=10 Fetching origin... Fetching u

jclouds-plugin not removing last slave

2016-04-04 Thread David Resnick
We're using the JClouds plugin with cloudstack and a retention time of 240 minutes. Slaves are spinning up on demand and are generally brought offline as expected. There is a problem with the last slave; even when it is unused for more than 240 minutes, it is never brought offline. It is alwa

Re: [workflow] email-ext step fails in freestyle project triggered by buildJob

2015-08-16 Thread David Resnick
https://issues.jenkins-ci.org/browse/JENKINS-29970 - David On Thursday, August 13, 2015 at 12:11:16 AM UTC+3, Jesse Glick wrote: > > On Wednesday, July 29, 2015 at 9:23:01 AM UTC-4, David Resnick wrote: >> >> java.lang.ClassCastException: >> org.jenkinsci.plugins.workflo

Re: Approve workflow script from Job DSL plugin

2015-08-16 Thread David Resnick
ntion, security here is already being by-passed when the Job DSL plugin is in use. - David On Thursday, August 13, 2015 at 12:05:14 AM UTC+3, Jesse Glick wrote: > > On Tuesday, July 21, 2015 at 4:17:51 PM UTC-4, David Resnick wrote: >> >> How can I have the workflow job script upda

Re: [workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread David Resnick
projects to be based on AbstractProject and Workflow is not. > > On Wed, Jul 29, 2015 at 6:23 AM David Resnick > wrote: > >> I have a freestyle job that fails to run the post-build extended email >> step when it is triggered by a workflow buildJob construct. >> >&

[workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread David Resnick
I have a freestyle job that fails to run the post-build extended email step when it is triggered by a workflow buildJob construct. The error message: ERROR: Could not send email as a part of the post-build publishers. java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob

Approve workflow script from Job DSL plugin

2015-07-21 Thread David Resnick
I have a workflow script that I set in the workflow job Groovy CPS DSL textbox via Job DSL. The problem is that though security on the server is set to "logged in users can do anything", apparently the script is not set as "Jenkins administrator". How can I have the workflow job script updated

Re: Failing to iterate list with workflow

2015-07-20 Thread David Resnick
d job closure branches[jobName] = { build job: jobName } } parallel branches - David On Wednesday, July 15, 2015 at 12:41:06 PM UTC+3, Arek Skalski wrote: > > Try to use classic: > for(int i = 0 ; i < jobs.length(); ++i) {...} > > > > W dniu wtorek, 14 lipca 2015 21

Failing to iterate list with workflow

2015-07-14 Thread David Resnick
I'm trying create jobs to run in parallel in a workflow with this script: def branches = [:] def jobs = [ 'job-1' ] for (job in jobs) { branches[job] = { build job: job } } parallel branches This fails with the below (though it doesn't fail when 'parallel branches' is commented out). How ca

Re: Jenkins master automatic setup

2015-06-28 Thread David Resnick
new > multi-host networking coming soon - will allow us to spin up test > containers across a fleet of machines instead of our one really large > instance we use now. > > On Sun, Jun 28, 2015 at 1:13 AM, David Resnick > wrote: > >> I'm very pleased with using the

Re: Job without trigger building constantly because of "SCM change"

2015-06-28 Thread David Resnick
ggered (or manually run) build starts looping. > > Jenkins 1.609.1 > Git plugin 2.3.5 > Maven plugin 2.10 > > > On Wednesday, May 20, 2015 at 10:40:23 PM UTC-7, David Resnick wrote: >> >> Unfortunately, I don't have a lot to add to the subject. >> >>

Jenkins master automatic setup

2015-06-28 Thread David Resnick
I'm very pleased with using the Job DSL plugin to keep job configuration in SCM, both for setting up a new Jenkins instance as well as for keeping track of job changes over time. Does anyone have a similar solution for setting up and maintaining a Jenkins master? This would include such settin

Job without trigger building constantly because of "SCM change"

2015-05-20 Thread David Resnick
Unfortunately, I don't have a lot to add to the subject. The job has SCM but no triggers -- it is triggered using the Parameterized Trigger Plugin. Yesterday we noticed that it was running continuously (using default parameters), restarting as soon as it finishes the previous build. The build

Re: Jenkins burning devil w/Stack trace--how to recover???

2015-03-29 Thread David Resnick
It sounds like you're hitting the same problem I have: https://issues.jenkins-ci.org/browse/JENKINS-27537 - David On Saturday, March 28, 2015 at 12:37:48 AM UTC+3, Steve K wrote: > > Since Jenkins was operational--just not usable for most users--I decided > to try downgrading the plugins that I

Re: Failure with Jenkins 1.602 and build pipeline plugin 1.4.6

2015-03-22 Thread David Resnick
Jenkins in version 1.596.1 and Build > Pipeline in 1.4.6. > > As for you, downgrading to 1.4.5. temporarily solves the issue. > > Regards, > > Andreas > > Am Sonntag, 15. März 2015 16:32:44 UTC+1 schrieb David Resnick: >> >> I upgraded Jenkins and

Failure with Jenkins 1.602 and build pipeline plugin 1.4.6

2015-03-15 Thread David Resnick
I upgraded Jenkins and a number of plugins and got the below exception in Jenkins list view. After downgrading build pipeline plugin to 1.4.5, the problem ceased. Has anyone else encountered this problem? Does anyone have 1.602 and 1.4.6 working together? Thanks, David Stack trace javax.ser

Re: Connection Refused error when running Sbt Tests in Jenkins but it works fine in local machine

2014-12-10 Thread David Resnick
I would recommend logging in to where Jenkins is trying to run sbt, cd-ing to the workspace and trying to run sbt yourself from the command line. Take Jenkins out of the loop. Maybe you might have a proxy issue on the slave/master where you are running sbt. - David On Monday, December 8, 2014

Re: Auto-generating a complex view setup

2014-11-27 Thread David Resnick
You can use the Job DSL Plugin to generate jobs and views very easily. Highly recommended method of creating jobs and/or views required for dynamic projects. The View DSL reference is here: https://github.com/jenkinsci/job-dsl-plugin/wiki/View-Reference If the views you'd like to create are not

Re: Jobs show as "Pending"

2014-11-20 Thread David Resnick
I've also seen this problem, I mentioned it here: https://groups.google.com/d/topic/jenkinsci-users/eetAVwKTJNU/discussion I'm also seeing a perhaps related problem where jobs with a periodic trigger are not being triggered after a while. I've opened a bug about it: https://issues.jenkins-ci.org/

Builds stuck at "pending"

2014-10-23 Thread David Resnick
Hi, I'm seeing a problem where from time to time some builds are being queued but not getting launched - despite the fact that slaves are available for the job. I'm running with Jenkins 1.585, though I've seen the problem with recent other versions (e.g. 1.582) from the last 2 months or so.

Re: Cloud slaves not being started by Jenkins

2014-10-23 Thread David Resnick
I'm seeing this problem as well. At some point Jenkins stops creating docker slaves. The queue shows "all nodes of label 'docker' are offline", and the appropriate docker slave is not initialized. Restarting Jenkins fixes the problem for a while. Docker plugin 0.8, Jenkins 1.585. We've seen thi

Re: Manual trigger failing in build pipeline with "No upstream trigger found for this project"

2014-07-22 Thread David Resnick
The solution: make sure there are only commas separating the projects to build specified in the post-build action. This pull request should fix the problem: https://github.com/jenkinsci/build-pipeline-plugin/pull/47 - David On Tuesday, July 22, 2014 6:30:35 PM UTC+3, David Resnick wrote

Manual trigger failing in build pipeline with "No upstream trigger found for this project"

2014-07-22 Thread David Resnick
I've created a pipeline using the Build Pipeline plugin connecting 5 jobs like this: poll --> build-A --> deploy --> build-B --> deploy --> build-C --> deploy The poll job has a "Build other projects (manual step)" post-build action with "build-A, build-B, build-C" as the do

Jenkins-Reviewbot failing with Perforce

2014-02-02 Thread David Resnick
I'm trying to use the Jenkins-Reviewbot plugin with Perforce as the SCM. While I managed to get a trivial patch (with a single added line to a file) to work, more complex patches fail. Has anyone managed to get the plugin working with Perforce? The problem apparently has to do with the patch fo

Job to show status of job on other master

2014-01-26 Thread David Resnick
I have a Jenkins instance (instance A) where I'd like to show the status of jobs running on a different Jenkins instance (instance B). I'd rather not make any change to instance A -- does anyone have a simple method for implementing this? Thanks, David -- You received this message because you

Re: Problems adding jobs using Radiator View plugin

2014-01-18 Thread David Resnick
Thanks to a patch sent in from kazesberger, this should be fixed in 1.18. Uncheck "Recurse in subfolders" in the view. - David On Tuesday, January 14, 2014 11:12:27 PM UTC+2, MoBarger wrote: > > Good to know. Thank you! > > On Tue, Jan 14, 2014 at 2:56 PM, David Resnick

Re: Problems adding jobs using Radiator View plugin

2014-01-14 Thread David Resnick
I'm sorry to say that the problem is in Jenkins core, version 1.532.1. The bug is JENKINS-20415. This is fixed in the next (unreleased) LTS version 1.532.2. I added a compatibility section to the wiki describing this problem as well. - David On Tuesday, January 14, 2014 12:58:09 PM UTC+2, MoBa

Re: radaitor plugins and jenkins 1.539

2013-11-23 Thread David Resnick
Hi Luis, I hope to check why radiatorview is not working with Jenkins 1.539 in the next few days. - David On Thursday, November 21, 2013 4:32:17 PM UTC+2, Luis Lopez wrote: > > hello people! > > i installed jenkins 1.539 and my radiator view don't save the jobs > selected. I need show the j

Re: Using CLI with AD plugin

2013-10-27 Thread David Resnick
a bug or a known limitation? Can anyone explain to me how it is possible to remotely trigger a Jenkins job as an AD user? Thanks, David On Wednesday, October 16, 2013 9:12:13 AM UTC+3, David Resnick wrote: > > I've opened a bug for this problem. > https://issues.jenkins-ci.org/br

Re: Using CLI with AD plugin

2013-10-15 Thread David Resnick
I've opened a bug for this problem. https://issues.jenkins-ci.org/browse/JENKINS-20064 - David On Monday, October 14, 2013 9:03:10 AM UTC+3, David Resnick wrote: > > I'm trying to use the Jenkins CLI for a server that is set up with AD as > the access control security realm.

Using CLI with AD plugin

2013-10-13 Thread David Resnick
I'm trying to use the Jenkins CLI for a server that is set up with AD as the access control security realm. Logged in users can perform any action. The Jenkins server is 1.534 on Ubuntu with Active Directory plugin 1.33, configured with just the domain (no bind DN or password). I've provisioned a

Re: Tweaking 'committers' list for email-ext

2013-09-14 Thread David Resnick
; > > On Fri, Sep 13, 2013 at 1:21 PM, David Resnick > > wrote: > >> I have a chain of 3 jobs, A->B->C. >> >> Job A is triggered by SCM polling and job C uses the email-ext plugin to >> send emails to committers. >> >> My problem is that

Email culprits not working in email-ext 2.33?

2013-09-13 Thread David Resnick
As a sanity check I've created a test job triggered by SCM that always fails. The email-ext configuration has a failure trigger that is set to send emails to culprits (the trigger was added directly to job config.xml due to JENKINS-19585). When I commit to SCM the job is triggered, but there is no

Tweaking 'committers' list for email-ext

2013-09-13 Thread David Resnick
I have a chain of 3 jobs, A->B->C. Job A is triggered by SCM polling and job C uses the email-ext plugin to send emails to committers. My problem is that job B checks out some build script related code from a separate SCM, overridding the committers from job A. I don't mind having the job B commi

Re: Unable to edit job configuration

2013-08-28 Thread David Resnick
That was it -- thanks very much for pointing it out! - David On Tuesday, August 27, 2013 9:23:21 AM UTC+3, Geoff Cummings wrote: > > Sounds like https://issues.jenkins-ci.org/browse/JENKINS-19248 > > Geoff > > On 27 Aug 2013, at 07:12, David Resnick > > wrote: >

Re: Unable to edit job configuration

2013-08-26 Thread David Resnick
In Chrome: try{for(var lastpass_iter=0; lastpass_iter < document.forms.length; lastpass_iter++){ var lastpass_f = document.forms[lastpass_iter]; if(typeof(lastpass_f.lpsubmitorig2)=="undefined"){ lastpass_f.lpsubmitorig2 = lastpass_f.submit; lastpass_f.submit = function(){ var form=this; var custom

Unable to edit job configuration

2013-08-26 Thread David Resnick
Since upgrading to Jenkins 1.528 (and a slew of other plugins -- see below) job configuration pages fail to complete to load. The "LOADING" overlay remains, though the page otherwise seems to complete loading. Attempts to push the "apply" and "save" buttons do not complete successfully. There are

Re: email-ext tokens for "Build Failure Analyzer"

2013-01-03 Thread David Resnick
n Thu, Jan 3, 2013 at 6:35 AM, David Resnick > > wrote: > >> Right, but the Build Failure Analyzer plugin needs to create a token with >> its output first, doesn't it? >> >> - David >> >> >> On Thursday, January 3, 2013 3:26:43 PM UTC+

Re: email-ext tokens for "Build Failure Analyzer"

2013-01-03 Thread David Resnick
Right, but the Build Failure Analyzer plugin needs to create a token with its output first, doesn't it? - David On Thursday, January 3, 2013 3:26:43 PM UTC+2, slide wrote: > > You can use Token Macro tokens in email-ext content templates. > > > On Thu, Jan 3, 2013 at 6:

email-ext tokens for "Build Failure Analyzer"

2013-01-03 Thread David Resnick
Great plugin! It's a huge time saver to have Jenkins figure out what went wrong with a build rather than having to view the log and figure it out for myself. Right now I'd say that the biggest improvements that could be made to the plugin involve making its results more prominent. It would be

Re: Double slave for job

2012-12-18 Thread David Resnick
- David On Tuesday, December 18, 2012 9:55:06 PM UTC+2, David Resnick wrote: > > This is my use case: > > I have tests that require a collection of machines to run. There are > different types of machine collections, with 1 or more instances of each > type. Each collection can be us

Double slave for job

2012-12-18 Thread David Resnick
This is my use case: I have tests that require a collection of machines to run. There are different types of machine collections, with 1 or more instances of each type. Each collection can be used by only one driving set of tests at a time. The tests themselves do not run in the collection of

Re: NullPointerException while trying to save job configuration

2012-11-29 Thread David Resnick
ioned in the "Known >> Issues" for that plugin -- after I installed it. Disabling the plugin >> fixed things again. >> >> >> >> On 26/11/2012 07:01, David Resnick wrote: >> >>> Pushing Apply brings up an empty error window; p

Dependency Graph View Plugin side effects

2012-11-25 Thread David Resnick
It seems that the Dependency Graph View plugin is much more than advertised. In addition to viewing dependencies, it allows creating them. Am I the first to encounter this new, um, feature? I played around with the endpoints in the new Javascript graph view, making new connections and seeing what

NullPointerException while trying to save job configuration

2012-11-25 Thread David Resnick
Pushing Apply brings up an empty error window; pushing Save brings the below error 500 stack trace. I'm running Jenkins 1.491 with countless plugins. Any suggestions? Thanks, David Status Code: 500Exception: java.lang.NullPointerException Stacktrace: javax.servlet.ServletException: java.lang.Nul

Re: New release of Dependency Graph View Plugin with experimental Javascript visualisation

2012-11-14 Thread David Resnick
Working now. Looks very nice! - David On Wednesday, November 14, 2012 4:05:12 PM UTC+2, Stefan Wolf wrote: > > I just released version 0.6. Could you try this one? > > On Wednesday, November 14, 2012 6:33:23 AM UTC-3, David Resnick wrote: >> >> Hi Stefan, >> >>

Re: New release of Dependency Graph View Plugin with experimental Javascript visualisation

2012-11-14 Thread David Resnick
Hi Stefan, I upgraded to the new version that includes jsplumb. It doesn't seem to be working; the jsplumb tab shows a blank area, though the Json format link displays a json representation of my dependencies. Let me know if there is any further information you need. I'm attempting to view the

Re: Very long load time for main dashboard since 1.486

2012-10-23 Thread David Resnick
org/browse/JENKINS-15601 > > Feel free to add details or comments to complete my short description of > the issue. > > -- > J.-C. Sirot > > Le mardi 23 octobre 2012 12:54:47 UTC+2, David Resnick a écrit : >> >> Hi Jean-Christophe, >> >> I can confir

Re: Very long load time for main dashboard since 1.486

2012-10-23 Thread David Resnick
> at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.net.SocketException: Broken pipe > a

Re: Very long load time for main dashboard since 1.486

2012-10-21 Thread David Resnick
d to another problem introduced > recently in the nested-view plugin (see recent archives about that, thread > started by mpapo). Btw, it's been fixed since we logged the issue. > > My 2 cents. > > Cheers > Le 21 oct. 2012 13:27, "David Resnick" > > a écr

Re: Very long load time for main dashboard since 1.486

2012-10-21 Thread David Resnick
ds to increase first time page load times I don't think that such a long load time for a page would be acceptable to any user of Jenkins. - David On Sunday, October 21, 2012 12:38:55 PM UTC+2, Richard Mortimer wrote: > > On 21/10/2012 10:52, David Resnick wrote: > > Since upgrading

Very long load time for main dashboard since 1.486

2012-10-21 Thread David Resnick
Since upgrading to 1.486 I've noticed long load times for some views on our Jenkins instance. Longest load times are for the main dashboard (which includes over 100 jobs and thousands of builds) -- I just timed 4 minutes 45 seconds for the page to load. Note that all pages do load eventually. H

Warnings logged during startup since upgrade to 1.486

2012-10-21 Thread David Resnick
Since upgrading to 1.486 I have a lot of warnings like below logged when Jenkins starts up. There doesn't seem to be any impact to Jenkins operation. Is this a known issue? Should I open a bug about this? Thanks, David Oct 16, 2012 7:54:16 AM hudson.model.RunMap retrieve WARNING: could not loa