Re: jenkins building when it shouldn't

2014-10-21 Thread Mark Waite
If polling is not configured, then you'll need to read the build log of each job that was run, and extract the differences between those jobs. Usually, "changes detected" means that the git plugin believes that the remote repository includes a branch which matches the "branches to build" in the jo

Re: GIT not pushing changes instead checked in changes are overwritten by git checkout once build starts

2014-10-21 Thread Mark Waite
Kevin described the proper way. In the job definition, select "Additional Behaviours" and the item "Check out to specific local branch" if you need a local branch in the repository. I believe the Jenkins git plugin does not use a remote tracking branch by default because it assumes most continuou

RE: form too large

2014-10-21 Thread Ginga, Dick
You knowI usually do that, thanks -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Tuesday, October 21, 2014 2:01 PM To: jenkinsci-users@googlegroups.com Subject: Re: form too large http://lmgtfy.com/?q

Re: GIT not pushing changes instead checked in changes are overwritten by git checkout once build starts

2014-10-21 Thread Daniel Serodio
What's the "proper" way to achieve this, instead of manipulating .git/* files like Jyotir did? I don't understand why Jenkins doesn't use remote tracking branches like most Git integrations do. Regards, Daniel Serodio On Thursday, February 13, 2014 4:01:20 PM UTC-2, Kevin Fleming wrote: > > If

Re: form too large

2014-10-21 Thread Daniel Beck
http://lmgtfy.com/?q=Form+too+large On 21.10.2014, at 19:52, Ginga, Dick wrote: > I'm getting this when I try to add some more statements to Windows batch > files steps in my, admittedly, large build job. I guess there is a maximum > job size? > > Stack trace > javax.servlet.ServletException

Re: Can we print Master name in slave machine

2014-10-21 Thread Daniel Serodio
Panikera Raj, I think your have the nomenclature confused. *Master* is the main server where Jenkins runs, which you access by http/https, and *slaves* are the servers to which the Jenkins master delegates the builds to run. *Upstream* is the job/build which triggers another job/build, and *do

form too large

2014-10-21 Thread Ginga, Dick
I'm getting this when I try to add some more statements to Windows batch files steps in my, admittedly, large build job. I guess there is a maximum job size? Stack trace javax.servlet.ServletException: java.lang.IllegalStateException: Form too large 207706>20 at org.kohsuke.stapler.

Re: Pylint, Pep8 and violations

2014-10-21 Thread Daniel Serodio
You're redirecting pylint's output to pylint.out, so you'll have to check the contents of this file to find out why the build failed. Regards, Daniel Serodio On Wednesday, October 15, 2014 10:11:34 AM UTC-3, Sathishkumar Duraisamy wrote: > > Hi All, > > I am new to Jenkins and I configuring it

setting parameters in Groovy Post-build

2014-10-21 Thread Ginga, Dick
How can I create or change the value of a build parameter in a Groovy PostBuild step? I need it for a further post build step. Dick Ginga, Informatics R&D PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.com

Re: Jenkins doesn't start

2014-10-21 Thread Simon Watson
Some closer analysis shows I can connect to the port and very briefly was able to get the "Jenkins is preparing" webpage, before it seemed to just crash/lockup. This is running Centos 6. On Tuesday, 21 October 2014 11:53:41 UTC+1, Simon Watson wrote: > > Hi all, > > Am having some issues gettin

Re: Maven dependencyManagement

2014-10-21 Thread Anton Tanasenko
Ok, to finish my own thread, we decided to generate a custom pom with transitive snapshot dependencies included directly in a separate profile. This can be done for certain projects only (wars, etc.) in a pre-build step and the build itself would use that generated pom. 2014-10-21 17:07 GMT+03:00

Re: Jenkins service started and then stopped

2014-10-21 Thread Craig
I've had the issue several times now and it's always resolved by clearing the logs. Today I tried a different fix and set the Event Log to 'Overwrite as Needed' (it was set to overwrite older than 7 days). This has resolved the issue without clearing the log, so it could be a permanent fix. Note

Re: Maven dependencyManagement

2014-10-21 Thread Anton Tanasenko
In previous message there should be '..there is NO direct dependency chain leading from webapp..' 2014-10-21 16:39 GMT+03:00 Anton Tanasenko : > Ok, I think I got it, it picks up upstream managed depdendency only if it > is directly referenced from > downstream project (in dependencies section),

Re: how to specify a git branch to build

2014-10-21 Thread Ivan Kanis
Hi Daniel, I am looking for something better. The SHA1 and branch name displayed on the job would be incorrect. Since I am looking at the source of the git plugin I am moving this discussion to the developers mailing list. Ivan October, 21 at 6:16 Daniel Serodio wrote: > You could add a shell s

Re: Maven dependencyManagement

2014-10-21 Thread Anton Tanasenko
Ok, I think I got it, it picks up upstream managed depdendency only if it is directly referenced from downstream project (in dependencies section), which, I guess, is the right thing to do. The problem arises when you have a single transitive dependency changed and you want it to be included in a

Re: Prevent Jenkins from deleting temp shell script for job

2014-10-21 Thread Daniel Serodio
If this is a freestyle job, you could add "set -x" before the first build step and it'll output all executed shell commands. Regards, Daniel Serodio On Thursday, October 2, 2014 6:50:50 PM UTC-3, Nick Dierauf wrote: > > Would love to get some insight into this temporary file that Jenkins > crea

Re: Opening configuration page of the job is very slow

2014-10-21 Thread Daniel Serodio
It may be related to some plugin you have installed that is trying to fetch something from the filesystem, a remote URL, or something else. The first step in diagnosing Jenkins slowness is opening the /threadDump URL in your Jenkins install while its loading the job configuration, this will giv

Re: how to specify a git branch to build

2014-10-21 Thread Daniel Serodio
You could add a shell script step and "git checkout ${BRANCH}" instead of relying on the Git plugin for this. Regards, Daniel Serodio On Monday, October 20, 2014 8:12:53 AM UTC-2, Ivan Kanis wrote: > > Hello, > > We are using a job with multiple git branches and it's working very > well. I am

Maven dependencyManagement

2014-10-21 Thread Anton Tanasenko
Hi all, It seems that maven project plugin does not link projects dependencies together when downstream project includes an upstream dependency whose version is specified in dependencyManagement section. At least not with default clean installation of jenkins. Is there a way to enable that? --

Jenkins doesn't start

2014-10-21 Thread Simon Watson
Hi all, Am having some issues getting Jenkins to start - the last message I see when I start it on the cmd line is: INFO: Started SSHD at port 36222 I see java listening on the HTTP port tcp0 0 :::12080:::* LISTEN 3605/java

Re: jenkins building when it shouldn't

2014-10-21 Thread michaelw
There is nothing in my polling log and I have no polling configured. On Monday, 6 October 2014 18:26:21 UTC+2, Mark Waite wrote: > > If you've configured "branches to build" to use a wild card, and if there > are changes on those branches compared to the last time they were built, > then a bunch

RE: Jenkins become unresponsive

2014-10-21 Thread James Nord (jnord)
Are you on Linux and are you using the embedded container? If so have you upped the number of file descriptors available from Jenkins – I have see in the past that is was not uncommon for the HTTP receiving thread to die due to not being able to handle a connection correctly. Otherwise – jstack

RE: 'Got the class not registered exception' system log message

2014-10-21 Thread David Aldrich
> Oct 20, 2014 10:45:29 AM WARNING org.jinterop.dcom.core.JIComServer initialise > Got the class not registered exception , will attempt setting entries based > on status flags... This exception also occurs in 1.584. David -- You received this message because you are subscribed to the Google G