Re: Help w/ maven release and git

2013-01-25 Thread Jeff
Bumpanyone using GIT w/ maven-release-plugin in Jenkins? On Wed, Jan 23, 2013 at 9:41 PM, Jeff wrote: > Two questions (from a Git n00b) dealing with Git + Maven in Jenkins: > > 1) When I do a release, I either want a new branch based on the maven > release version or a "release" branch sync

Re: best linux production env for jenkins?

2013-01-25 Thread Les Mikesell
On Fri, Jan 25, 2013 at 4:19 PM, teilo wrote: > >> >> For RH or CentOS, I think the yum install is even easier if you want >> to use the embedded winstone. >> http://pkg.jenkins-ci.org/redhat/ >> You can configure your options in the /etc/sysconfig/jenkins file so >> subsequent updates won't overw

Re: copy artifacts question

2013-01-25 Thread Jason Swager
Not really. Promotions are a great way to mark when downstream jobs or tests have completed for a specific build. And each promotion is a separate permalink. Copy artifacts can work off permalinks. Innovative use of two custom plugins. On Friday, January 25, 2013, Chris Withers wrote: > Inter

Re: best linux production env for jenkins?

2013-01-25 Thread teilo
On Friday, 25 January 2013 21:56:41 UTC, LesMikesell wrote: > > On Fri, Jan 25, 2013 at 3:43 PM, teilo > > wrote: > > > > To be pretty honest - I would suggest you skip the packaged versions and > use > > your own init scripts and the war with the inbuilt winstone container. > > > > As for

Re: best linux production env for jenkins?

2013-01-25 Thread Les Mikesell
On Fri, Jan 25, 2013 at 3:43 PM, teilo wrote: > > To be pretty honest - I would suggest you skip the packaged versions and use > your own init scripts and the war with the inbuilt winstone container. > > As for which distro - if you take the above advice it depends on you. > Pretty much anything r

Re: best linux production env for jenkins?

2013-01-25 Thread teilo
Hi Russ, To be pretty honest - I would suggest you skip the packaged versions and use your own init scripts and the war with the inbuilt winstone container. As for which distro - if you take the above advice it depends on you. Pretty much anything recent will have a good enough kernel and th

RE: parameterizing which downstream jobs to build

2013-01-25 Thread Merrow, Frank
Build.CMD <- your normal build command SET SAVEEC=%ERRORLEVEL% Python startdownstreamjobusingpythonjenkins.py EXIT %SAVEEC% -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chris Withers Sent: Friday, January 25, 2013 11:05 A

RE: best linux production env for jenkins?

2013-01-25 Thread Mandeville, Rob
I'm running a fairly large environment, 200+ nodes and hundreds of jobs a night. We use the onboard WinStone running on Java 7 over Linux. The VM arguments we use are -Xmx4096m -Xms1024m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSClassUnloadingEnabled --Rob -Original Message

Re: copy artifacts question

2013-01-25 Thread Chris Withers
Interesting, but does feel like a bit of a hack... Chris On 25/01/2013 15:25, Jason Swager wrote: Yes. Using the Promotions plugin, setup a promotion that automatically triggers when all the downstream jobs have passed. The Promotions plugin will expose that build as a permalink. Use the Copy

Re: parameterizing which downstream jobs to build

2013-01-25 Thread Chris Withers
On 25/01/2013 16:27, Merrow, Frank wrote: I'd like to have a job do something and then kick off some downstream jobs, but I'd like to make some choices in the job to decide *which* downstream jobs to kick off. How can I do that? I see other solutions have been offered, but if you needs are com

best linux production env for jenkins?

2013-01-25 Thread Russ Tremain
Hi, Does anyone have suggestions for the best linux production environment for jenkins? I want to run a trimmed down server optimized for web performance. In the past, I've always run jenkins under tomcat, but am open to other suggestions. Looking for specific version info for distros & to

Re: sloccount plugin exception

2013-01-25 Thread Kamal Ahmed
P.S This is on CentOs 6.3 ( Slave ) using sloccount-2.26-umask.1.x86_64.rpm Jenkins sloccount plugin 1.8 Jenkins version 1.499, running on ubuntu 12.04 ( Master ) > > From: Kamal Ahmed >To: "jenkinsci-users@googlegroups.com" >Sent: Friday, January 25,

Re: Plugins update gone wrong

2013-01-25 Thread Peter Miklosko
Problem came from Github OAuth Plugin . 1. I shutdown Jenkins 2. Made copy of config.xml and saed it as config.xml.old 3. Edited config.xml - changed useSecurity to false - removed all permissions entries for u

sloccount plugin exception

2013-01-25 Thread Kamal Ahmed
Hi Group, I am getting an exception: 12:16:34 ERROR: Publisher hudson.plugins.sloccount.SloccountPublisher aborted due to exception 12:16:34 java.lang.NullPointerException 12:16:34 at hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:92) 12:16:34 at hudson.plugins.

Plugins update gone wrong

2013-01-25 Thread Peter Miklosko
Today I just run update on 3 plugins: SVN plugin and 2 GitHub plugins After restart we landed with 500. Bellow is full error. Can anyone please advice how to solve this issue? Exception: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false'

RE: parameterizing which downstream jobs to build

2013-01-25 Thread Merrow, Frank
> I'd like to have a job do something and then kick off some downstream > jobs, but I'd like to make some choices in the job to decide *which* > downstream jobs to kick off. > > How can I do that? I see other solutions have been offered, but if you needs are complex enough . . . google "python

RE: copy artifacts question

2013-01-25 Thread Merrow, Frank
That I am aware of . . . not directly. If your downstream jobs "fan out" then I don't have a solution for you. However, if they are a sequence, pass the artifacts from job to job down the stream . . . then pull them from the last job. Frank -Original Message- From: jenkinsci-users@goog

Re: copy artifacts question

2013-01-25 Thread Jason Swager
Yes. Using the Promotions plugin, setup a promotion that automatically triggers when all the downstream jobs have passed. The Promotions plugin will expose that build as a permalink. Use the Copy Artifacts plugin to pull artifacts from the permalink associated with the promotion. Jason Swager

Re: Jenkins fails to send email

2013-01-25 Thread Chris Jones
Nope, it was a fresh install. (Both times, really.) Chris On 1/24/2013 5:04 PM, Slide wrote: > Were you upgrading from a previous install when you started seeing the > issue? > > > On Thu, Jan 24, 2013 at 4:58 PM, Chris Jones > wrote: > > I moved all the files

Re: parameterizing which downstream jobs to build

2013-01-25 Thread cjo
Not sure as the maintainer seems to be AWOL for the last 9-10 months, will ping the developer list to see if I can get someone to review the many Pull requests. On Friday, January 25, 2013 11:44:34 AM UTC, Chris Withers wrote: > > On 25/01/2013 11:33, cjo wrote: > > Are you picking from a fixed

Re: parameterizing which downstream jobs to build

2013-01-25 Thread Chris Withers
On 25/01/2013 11:33, cjo wrote: Are you picking from a fixed set of projects? If you are you could try the pull request I created to use the run-condition plugin on the parameterized trigger plugin which would allow the decision on if a particular projects is triggered to be calculated from vari

Re: parameterizing which downstream jobs to build

2013-01-25 Thread cjo
Are you picking from a fixed set of projects? If you are you could try the pull request I created to use the run-condition plugin on the parameterized trigger plugin which would allow the decision on if a particular projects is triggered to be calculated from various options. Including files pr

Re: Artifacts and Builds

2013-01-25 Thread Chris Withers
Hi Paulo, It's tricky when you start, I remember finding this all a bit confusing too! On 25/01/2013 11:16, Paulo Matos wrote: * Builds are the files created during a job. My understanding is that a build is a specific, numbered run of a job. So if a job triggers the creation of 2 files and

Re: Smart emails

2013-01-25 Thread Slide
Take a look at the email-ext [1] plugin and see if it fits your needs. I can do quite a bit. slide 1 - https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin On Fri, Jan 25, 2013 at 4:19 AM, Paulo Matos wrote: > Hello, > > I need smarter email notifications. Mainly I need to know, when

Smart emails

2013-01-25 Thread Paulo Matos
Hello, I need smarter email notifications. Mainly I need to know, when jenkins starts a job triggered by a git poll, what changed in the repository (source code diff between previous build and current build). This should be sent at the beginning of a job after the git poll. Can I do this? An

Artifacts and Builds

2013-01-25 Thread Paulo Matos
Hi, I am slightly confused by the difference between artifacts and builds. Correct me if I am wrong and please add whatever I might have missed. * Builds are the files created during a job. So if a job triggers the creation of 2 files and 3 directories, that's the build and it exists in the w

Re: parameterizing which downstream jobs to build

2013-01-25 Thread Chris Withers
On 25/01/2013 10:30, CHAVANNE Robert wrote: It depends on what you call choice. You can use parametrized build. The parameter would be the name of the job to trigger. OK. I don't know if you can choose the job to trigger automatically. I was hoping to use logic within the job to pick the na

Re: parameterizing which downstream jobs to build

2013-01-25 Thread CHAVANNE Robert
Chris Withers simplistix.co.uk> writes: > > Hi All, > > I'd like to have a job do something and then kick off some downstream > jobs, but I'd like to make some choices in the job to decide *which* > downstream jobs to kick off. > > How can I do that? > > Chris > Hi Chris, It depends on w

Re: copy artifacts - pick from two upstream jobs

2013-01-25 Thread Chris Withers
Hi Fred, Did you have any joy with this? I've using 1.25 but can't see anything that would let me specify the triggering project in the "Project name" box. I'd imagine it would be some kind of place holder variable such as $COPYARTIFACT_UPSTREAM_JOB or some such? cheers, Chris Or

viewing build results extremely slow on 1.480.2

2013-01-25 Thread Chris Withers
Hi All, I've noticed this a lot since upgrading to 1.480.2, but it's been an intermittent problem for a while now.. Going to: http://:8080/job/// ...can take over a minute to render. How can I figure out why this is taking so long? cheers, Chris -- Simplistix - Content Management, Batch

copy artifacts question

2013-01-25 Thread Chris Withers
Hi All, Is there any way I can get the copy artifacts plugin to copy from the last build for which all downstream jobs passed? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk

Re: Todo notes on a jekinsjob - any add-ins?

2013-01-25 Thread Johannes Wienke
Hi, On 25.01.2013 08:56 schrieb Kenneth Nielsen: > I am in the process of setting up Jenkins on our system. > And want to stick a note on the different jobs, can that be done in a smart > way? > I want the note to be for each job, but not necessarily stored and > published as it would be if i pu