Avoid Recursive Building When Jenkins Pushes

2014-12-15 Thread greg . freeman
Currently I have a build that creates and updates a bunch of files which are loaded into our IDE to customize it to display all our internal libraries. This build is triggered on commits. After the build completes, I commit and push these files back to my git repo on bitbucket via a Jenkins ste

[workflow plugin] is there a way to get workflow node steps to show in node history?

2014-12-15 Thread Kevin
Title says it all, is there a way to get workflow node steps to show in node history? At least for me the node steps in the CPS DSL don't appear to do this. I've got a one-shot cloud provider that inspects history as a last resort (with a RetentionStrategy) in case a RunListener isn't called,

Re: [workflow-plugin] remote node on docker. settings.xml missing

2014-12-15 Thread Kohsuke Kawaguchi
Good question. I think this plugin needs to be extended to support the new Step API, which should be fairly easy. Let me see... 2014-12-15 4:34 GMT-08:00 Stefan Lorenz : > > Hi, > > in my build jobs I use the Config File Provider Plugin >

Re: Jenkins is now using embedded jetty

2014-12-15 Thread Indra Gunawan (ingunawa)
I guess this plugin requires jsp: Dec 15, 2014 9:37:29 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading plugin monitoring java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:369) at hudson.PluginManager$2$1$1.run(PluginManager

Failed to serialize org.jenkinsci.plugins.workflow.actions.ErrorAction when declaring classes in csp-global-lib

2014-12-15 Thread Kenneth Baltrinic
I have a basic workflow script that is performing some validation on a chef cookbook before publishing it.Most of the script code is in the csp-global-lib library because I am ultimately going to be validating a lot of cookbooks. my workflow-lib repo looks like this: src +- chef +- Co

Re: Jenkins is now using embedded jetty

2014-12-15 Thread Indra Gunawan (ingunawa)
How do you monitor/debug Jenkins now since this Monitoring plugin will fail to load without JSP support now. https://wiki.jenkins-ci.org/display/JENKINS/Monitoring Thank you. -Indra From: James Nord mailto:te...@teilo.net>> Reply-To: "jenkinsci-users@googlegroups.com

Windows firewall settings for Jenkins slave

2014-12-15 Thread David Aldrich
Hi For Jenkins Windows Slaves, this link: https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM#WindowsslavesfailtostartviaDCOM-Firewall states that a Windows firewall exception may be needed for: C:\WINDOWS\system32\javaw.exe This has worked fine for us until today

RE: Run number of parameterized jobs based on property files

2014-12-15 Thread Rob Mandeville
Look at the Job DSL Plugin. If all these jobs can be started at the same time (even if they have to queue up for lack of executors), I would have a job connected to that git repository and set on a schedule. The job would read all the files into some data structure, then use Build Flow or Job

Re: Running Jenkins as a Different User

2014-12-15 Thread Wt Riker
I pretty much figured this was the case. This is RHEL 6.2. The problem is that by corporate policy, local accounts are not permitted. Vintella is used on all Linux servers so AD users, called "generic" users, must be created to comply with security policy. Therefore that user will not show up i

Re: fatal: repository 'http://jenkins:8080/jenkins/workflowLibs.git/' not found

2014-12-15 Thread Mark Waite
On Mon, Dec 15, 2014 at 7:48 AM, Kenneth Baltrinic wrote: > > I figured out my primary mistake. All the docs give urls of the form > http:/server/jenkins/workflowLibs.git. This format assumed that the > Jenkins server itself was not located at server root but at the jenkins > endpoint beneath th

Re: fatal: repository 'http://jenkins:8080/jenkins/workflowLibs.git/' not found

2014-12-15 Thread Kenneth Baltrinic
I figured out my primary mistake. All the docs give urls of the form http:/server/jenkins/workflowLibs.git. This format assumed that the Jenkins server itself was not located at server root but at the jenkins endpoint beneath the server root. To the contrary my install has Jenkins at the ser

Re: Running Jenkins as a Different User

2014-12-15 Thread Dirk Heinrichs
Am 15.12.2014 um 14:38 schrieb Wt Riker: > I just noticed one additional point, and that may be the crux of the > problem. Why does it try to use /users/dtvjnkns/.jenkins? That is not > the home directory for this user. I specified /var/lib/jenkins as the > home directory in /etc/sysconfig/jenkins

Re: java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors.

2014-12-15 Thread Luís Borges de Oliveira
On 01-12-2014 17:25, Luís Borges de Oliveira wrote: I've tried the workaround suggested by the error messsage. If I access the /systemInfo page, I can confirm that hudson.util.ProcessTree.disable is set to true, but the error still happens. Alternatively, it'd be useful to avoid failing the bui

Re: Running Jenkins as a Different User

2014-12-15 Thread Wt Riker
I just noticed one additional point, and that may be the crux of the problem. Why does it try to use /users/dtvjnkns/.jenkins? That is not the home directory for this user. I specified /var/lib/jenkins as the home directory in /etc/sysconfig/jenkins. -- You received this message because you ar

Re: Running Jenkins as a Different User

2014-12-15 Thread Wt Riker
Thanks for the reply. I have already done all that except trying to run it manually. That did produce some additional errors but it does mean anything to me other than is cannot load Jetty (no idea where that is). I tried to search for it but nothing seemed applicable. Here is the output: Runn

Re: fatal: repository 'http://jenkins:8080/jenkins/workflowLibs.git/' not found

2014-12-15 Thread Kenneth Baltrinic
Is there anyone out there successfully using the Global Shared Library? On Friday, December 12, 2014 2:08:51 PM UTC-5, Kenneth Baltrinic wrote: > > I feel I am missing something obvious here. I have a test bed Jenkins > server v 1.592 with workflow 1.0 plugins installed, this includes the > Wor

Re: Jenkins is now using embedded jetty

2014-12-15 Thread James Nord
Hi, Jenkins does not need JSP support - it uses alternate technology for building its web pages. So you can safely ignore this message. /James On 15/12/2014 02:20, Indra Gunawan (ingunawa) wrote: Ever since version 1.535, java –jar jenkins.war now runs on Jetty8: (issue 18366

All views disappear on restart

2014-12-15 Thread Lukas Rytz
Hello! After upgrading to 1.593 we have issues with views: after restarting Jenkins, all views disappear. We keep config.xml in version control, so we can observe that after restarting, the section is still there (but now views are displayed anymore). When doing any change to config.xml, all

[workflow-plugin] remote node on docker. settings.xml missing

2014-12-15 Thread Stefan Lorenz
Hi, in my build jobs I use the Config File Provider Plugin for sharing files like settings.xml with the remote docker jenkins nodes. How do I use it in workflow-plugin? thx and regards Stefan -- You received this mess

Stack trace when trying to build 255 jobs in Build Flow

2014-12-15 Thread ramesh v r
I am trying to Execute many small threads of a larger build using Build Flow. However I get a startup failed issue with 255 jobs (I was rededing from 500 jobs to 255). Is there a limit on number of jobs that can be handled in a single? Any API / reference would be immensely helpful. Complete St