Proxy authentication

2013-04-26 Thread CLOSE Dave
Searching around on the Net, I find many people who have had trouble getting a headless Eclipse/Buckminster build to work when the builder is located behind a proxy that requires authentication. But I haven't found any real solutions. I'd really like to see a step-by-step guide. Most suggestion

Re: running Jenkins behind an Elastic Load Balancer for SSL termination

2013-04-26 Thread Adam Monsen
I used this instead: iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8443 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use

Re: Listing changed files since last build

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 12:32 PM, Maureen Barger wrote: > ..." or > perhaps just track the svn revision numbers when you deploy so you can > find the differences for subsequent updates." > > This is actually where I was headed but I am unsure how to do this > exactly. In theory I can compare diffe

Re: Listing changed files since last build

2013-04-26 Thread Maureen Barger
..." or perhaps just track the svn revision numbers when you deploy so you can find the differences for subsequent updates." This is actually where I was headed but I am unsure how to do this exactly. In theory I can compare differences between revision 100 and revision 102, and loop through the n

How can a Jenkins slave get copy of job config.xml from master to uses as build artifact?

2013-04-26 Thread Ed of the Mountain
What are some approaches for a slave to get a copy of a job's *config.xml* configuration files? Builds created on slaves do not have a physical copy of the job's * config.xml*. Located on the Linux Jenkins master at: /var/lib/jenkins/jobs//config.xml My management wants us to add the Jenk

Re: Listing changed files since last build

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 11:53 AM, Maureen Barger wrote: > They are in SVN. I am trying to figure out the best way to leverage > svn and jenkins to get the files. Liquibase really didn't fit our > needs at the time we worked with it. Jenkins should show you a list of changes between builds, but I

Re: Listing changed files since last build

2013-04-26 Thread Maureen Barger
They are in SVN. I am trying to figure out the best way to leverage svn and jenkins to get the files. Liquibase really didn't fit our needs at the time we worked with it. On Fri, Apr 26, 2013 at 11:59 AM, Les Mikesell wrote: > On Fri, Apr 26, 2013 at 5:43 AM, Maureen Barger wrote: >> Hi all- I

Building multiple Gerrit branches with one Jenkins project

2013-04-26 Thread Scott Evans
Currently, we have Jenkins set up to trigger on a Gerrit patchset upload or merge to do a build, which works fine. We also use a build version plugin to version the build with a custom build number sequence (w.x.y.buildnumber). However, we now have been asked to implement having a single Jenkins

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 10:11 AM, Aswini Rajasekaran wrote: > > Yes, the CPU usage of the process which runs hudson.war scales to 250+%. Again, that only makes sense in the context of how many CPU's you have - and whether they are real cores or hyperthreads that get counted as CPUs. If you have

Re: Listing changed files since last build

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 5:43 AM, Maureen Barger wrote: > Hi all- I am struggling with this task and am hoping you can help. > I need to compile a list of changed files since last build in Jenkins. Where are these files? Aren't your changes already managed by a version control system (subversion,

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Hi, Yes, the CPU usage of the process which runs hudson.war scales to 250+%. It doesn't run hudson.war alone, but it also runs the Maven, ANT, jboss and other tasks required by the jobs. And sometimes because of the intensity of the jobs or so, it goes out of PermGenSpace and I have to restart j

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 9:41 AM, Aswini Rajasekaran wrote: > Hi Les, > I don't run my master as slave right now and use 3 executors on master. But > at times, it is heavily loaded and the CPU usage of the master goes to 250% > or so. > If I run the master as slave, will this overloading reduce on

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Hi Les, I don't run my master as slave right now and use 3 executors on master. But at times, it is heavily loaded and the CPU usage of the master goes to 250% or so. If I run the master as slave, will this overloading reduce on master? Aswini On Friday, 26 April 2013 15:37:30 UTC+1, LesMikese

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 8:17 AM, Aswini Rajasekaran wrote: > Hi Les, > > This seems to be a very good idea. But will the performance of the server > increase/decrease if we make the master node to run as a slave node also and > work as master at the same time? There is probably a tiny amount of o

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Hi Les, This seems to be a very good idea. But will the performance of the server increase/decrease if we make the master node to run as a slave node also and work as master at the same time? Regards, Aswini On Friday, 26 April 2013 13:56:51 UTC+1, LesMikesell wrote: > > On Fri, Apr 26, 2013

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 5:44 AM, Aswini Rajasekaran wrote: > This works.. Thanks a lot Geoff. Alternatively, you can run a slave on your master machine and no executors on the master itself. -- Les Mikesell lesmikes...@gmail.com -- You received this message because you are subscribed to

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Geoff Cummings
Good :) I think it's good to keep workspace separate from build config and history. On 26 Apr 2013, at 11:44, Aswini Rajasekaran wrote: This works.. Thanks a lot Geoff. Regards, Aswini On Friday, 26 April 2013 11:07:34 UTC+1, Geoff Cummings wrote: > > > > Manage Jenkins --> Configure Syst

RE: Questions on Jenkin

2013-04-26 Thread Mandeville, Rob
Do you mean Ab Intio? BTW, it's Jenkins, not Jenkin. The procurement cost of Jenkins is zero. Just go to http://www.jenkins-ci.org and download. Cloudbees will sell you an enterprise edition with extra plugins and a support contract, or sell you a service where you run Jenkins on their cloud

Build Name Setter Plugin

2013-04-26 Thread Igor Tiutiunnykov
Hey, I use Build Name Setter Plugin and Multiple SCMs. When I use ${GIT_BRANCH} as a parameter for Build Name it takes just the first git branch. Does somebody know how to set all git branches which I use in job as a Build Name? Thanks. -- You received this message because you are subscribe

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
This works.. Thanks a lot Geoff. Regards, Aswini On Friday, 26 April 2013 11:07:34 UTC+1, Geoff Cummings wrote: > > > > Manage Jenkins --> Configure System > > At the top right of the page, there is an advanced button which gives more > options just below the "Home Directory" and above the "S

Listing changed files since last build

2013-04-26 Thread Maureen Barger
Hi all- I am struggling with this task and am hoping you can help. I need to compile a list of changed files since last build in Jenkins. In this case, we check SQL files into a repo and I need to pull them out to include in the release package and also apply to the QA environments when the code is

Anyone ever used Jenkin with Abnitio

2013-04-26 Thread avineet
Hi, I need some basic information of using Jenkin with Abnitio.If anyone has some docs or best practice material related to that then please let me know. Thanks in advance for your help -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsub

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Geoff Cummings
Manage Jenkins --> Configure System At the top right of the page, there is an advanced button which gives more options just below the "Home Directory" and above the "System Message" Update the Workspace Root Directory field to the following: ${JENKINS_HOME}/workspace/${ITEM_FULLNAME} N

Questions on Jenkin

2013-04-26 Thread avineet
Hi, We wanted to implement Jenkin in our project which require some kind of automation tool which support testing around Abnitio. I have heard that Jenkin works with Abnitio,Could you please confirm me the same. *What would be the Procurement cost of the product. * Also,I drafted few high level c

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Yes, I am using that in all of my other configuration files for build. But when it comes to javascript, user-extensions.js file in selenium is javascript, I don't have any way of accessing a env variable in java script. Aswini On Friday, 26 April 2013 09:29:33 UTC+1, Adam PAPAI wrote: > > Why

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Adam PAPAI
Why don't you use the $WORKSPACE variable? It always points to the directory where your source code is - or in other words where your job is located. Aswini Rajasekaran April 26, 2013 10:27 AM Hi Adam,I am running tests on both master and slaves and am specifying the tes

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Hi Adam, I am running tests on both master and slaves and am specifying the test location directory in user-extensions.js file in selenium. As the workspaces are different in master and slave, I can't run the same job in both master and slave depending on the load on master. If I can't make thi

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Adam PAPAI
What is the reason why do you want it to be the same? Anyway on the master you shouldn't run tests. Only on the slaves. The reason is: on the master under the jobs/jobname there are the meta infos, build history, config.xml and so on, so the "realy" workspace is under the /workspace On the s

Re: How to keep Unix process alive after job is completed?

2013-04-26 Thread Riccardo Foschia
Hi, Take a look at https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller section "If your build wants to leave a daemon running behind..." Greetings, Riccardo Am 26.04.2013 10:08, schrieb hezjing: Hi I have a job which will be run in an Linux slave. This job will execute a shell c

How to keep Unix process alive after job is completed?

2013-04-26 Thread hezjing
Hi I have a job which will be run in an Linux slave. This job will execute a shell command to start a server process which will run forever. Unfortunately this process is terminated when the job is finished. When I tested this using PuTTY, the server process is still alive after I logged-in and