Re: Upgrading from Hudson Windows 1.395 to Jenkins

2013-01-07 Thread prathima chowdary
Hello, Is the Direct Upgrade possible for Version : Hudson ver. 1.386 If possible , Please do reply with Detailed Steps.. Thanks Prathima On Thu, Jan 3, 2013 at 9:59 PM, Slide wrote: > You're asking the wrong people. Hudson devs changed the format of the XML > files, you'll need to ask th

Re: Email-ext plugin for Jenkins 1.464

2013-01-07 Thread Sanket
Thanks It worked! On Tuesday, January 8, 2013 12:14:16 AM UTC+5:30, slide wrote: > > Probably 2.24.1 > > > On Mon, Jan 7, 2013 at 11:43 AM, Sanket > > wrote: > >> I am using Jenkins 1.464 at my workplace. I need to send an email on each >> notification so I installed email-ext from my organisati

Re: JNLP slave no longer works

2013-01-07 Thread Jon Schewe
OK, so if I just keep the jnlp local now instead of always requesting it on startup, thing will continue to work, correct? On Monday, January 7, 2013, Kohsuke Kawaguchi wrote: > This is unfortunately a necessary measure. > > See the "Fix" section in > https://wiki.jenkins-ci.org/display/SECURITY/

Re: JNLP slave no longer works

2013-01-07 Thread Kohsuke Kawaguchi
This is unfortunately a necessary measure. See the "Fix" section in https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2013-01-04 2013/1/7 Jon Schewe > I just upgraded to 1.480.2 from 1.471 and my JNLP slaves can no longer > connect. I get an error: > > JNLPException[catego

JNLP slave no longer works

2013-01-07 Thread Jon Schewe
I just upgraded to 1.480.2 from 1.471 and my JNLP slaves can no longer connect. I get an error: JNLPException[category: Download Error : Exception: java.io.IOException: Server returned HTTP response code: 403 for URL: https://server:8010/computer/slave-jnlp/slave-agent.jnlp : LaunchDesc: null ]

Re: Job Generator Plugin jobs get stuck when deleting generated jobs

2013-01-07 Thread Jonathan Rogers
I have a top-level generator project "trigger_builds_generator" with one generator parameter "MANUAL_GIT_BRANCH" which triggers two parameterized build entries for a second level project "build_generator" with two different values for a second generator parameter "VIRTUALENV_NAME". The "build_gener

Re: Run junkins jobs as different user

2013-01-07 Thread Jonathan Rogers
SSH is not the only way to run something as a different user. On any Unix-like system, you should be familiar with the "sudo" command which can be configured to allow any user to run any command as some other user, optionally restricting the command and optionally requiring a password. http://linux

Re: Is it possible to fail build if test time increases by X%

2013-01-07 Thread Keith B. Perry
@teilo -> That is pretty much exactly what I am looking for. This could be a fun project, but I am not sure I have time right now. This would be an awesome feature. On Monday, January 7, 2013 4:49:16 PM UTC-6, teilo wrote: > > There is no way that I currently know of, and the company I work f

Re: Is it possible to fail build if test time increases by X%

2013-01-07 Thread teilo
There is no way that I currently know of, and the company I work for have have a need for performance regression tests jobs (so I have looked). I have not yet had time to open an IDE to look at this. (we want to look at a rolling average rather than the last successful job, and also match this

Re: Setting the context root on Jenkins 1.498 on debian 6 (latest) has broken

2013-01-07 Thread teilo
/etc/default/jenkins should be your friend on debian. /James On Monday, 7 January 2013 21:52:35 UTC, Colin Yates wrote: > > Hi all, > > I have been running jenkins on Debian for quite a while now, and the > documented way to set the context root to /jenkins was to add a > "--prefix=/jenkins" to

Re: Null pointer exceptions after upgrade from 1.480.1 to 1.480.2

2013-01-07 Thread Chanda Unmack
I have the same issue after upgrading from 1.480.1 to 1.480.2 on Ubuntu 12.04. I am able to launch the windows slaves manually, but unable to have them run as a windows service from the gui. I am able to install it as a service from the command line, but the master never connects to the slave. The

Re: LTS upgrade notifications

2013-01-07 Thread Jon Schewe
Deleting the contents of the updates directory fixed it. Now I see the option to get 1.480.2 instead of 1.496. On Mon, Jan 7, 2013 at 1:29 PM, teilo wrote: > you may waat to remove the contents of jenkins_dir/data/updates > > /James > > > On Monday, 7 January 2013 13:53:18 UTC, Jon Schewe wrote

Re: How set java.io.tmpdir=/tmp for Jenkins slave?

2013-01-07 Thread ED SUTTON
Thank you Reynald! That solved my problem. Somehow I was blind to seeing the "Advanced" button on the slave node configuration page. Thanks again for your help! -Ed On Jan 7, 2013, at 3:31 PM, Reynald Borer wrote: > Hi, > > Try to add the following inside the JVM options: "-Djava.io.tm

Re: LTS upgrade notifications

2013-01-07 Thread Jon Schewe
Can you explain more? What link provided by Jenkins? On Mon, Jan 7, 2013 at 8:09 AM, SBreitbach wrote: > Don't use the link on the webpage. Use the link provided by Jenkins itself > instead. -- http://mtu.net/~jpschewe

Re: Setting the context root on Jenkins 1.498 on debian 6 (latest) has broken

2013-01-07 Thread Colin Yates
Simpler than I thought: - add a new line containing "JENKINS_ARGS="--prefix=/jenkins" to /etc/init.d/jenkins - add to the DAEMONS_ARGS "--env=JENKINS_ARGS=$JENKINGS_ARGS" Restart jenkins. So the relevant fragment now reads: [code] JENKINS_ARGS="--prefix=/jenkins" #DAEMON=$JENKINS_SH DAEMON=

Is it possible to fail build if test time increases by X%

2013-01-07 Thread Keith B. Perry
Hi all, Does anyone know how to do this? Can I fail a build if a test time increases by a certain percentage? For example, if a test takes 100 ms today, but tomorrow it takes 5 seconds...can I have Jenkins fail the build?

Setting the context root on Jenkins 1.498 on debian 6 (latest) has broken

2013-01-07 Thread Colin Yates
Hi all, I have been running jenkins on Debian for quite a while now, and the documented way to set the context root to /jenkins was to add a "--prefix=/jenkins" to the JENKINS_OPTS variable in the /etc/init.d/jenkins script. When I did an apt-get update; apt-get dist-upgrade it told me the lat

Re: How set java.io.tmpdir=/tmp for Jenkins slave?

2013-01-07 Thread Reynald Borer
Hi, Try to add the following inside the JVM options: "-Djava.io.tmpdir=/foo" (click on Advanced under Launch method to see show this field). Then disconnect and reconnect the slave to take this parameter into account. Cheers, Reynald On Monday, January 7, 2013 at 18:51 , Ed of the Mountain

Re: Run junkins jobs as different user

2013-01-07 Thread Les Mikesell
On Mon, Jan 7, 2013 at 2:08 PM, Adam Tong wrote: > Hi, > > This means the only way I can do that is to use a slave. Yes, but the slave instance(s) can run on the same host as the master if it has the capacity. > As a developer I never needed to do that before even if I am familiar > with the ter

Re: Run junkins jobs as different user

2013-01-07 Thread Adam Tong
Hi, This means the only way I can do that is to use a slave. As a developer I never needed to do that before even if I am familiar with the terms master/slave. Do you suggest any link for beginners? if it is in the context of jenkins would be awesome? Thank you On Fri, Jan 4, 2013 at 6:01 P

Problem running tests in jenkins-test-harness from Eclipse

2013-01-07 Thread Joakim Olsson
Hi, I've got a little problem recently. I'm no longer able to run the tests in the jenkins-test-harness from within Eclipse. It was running successfully for a while but now I get the following stacktrace in the JUnit-view: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.refl

Re: LTS upgrade notifications

2013-01-07 Thread teilo
you may waat to remove the contents of jenkins_dir/data/updates /James On Monday, 7 January 2013 13:53:18 UTC, Jon Schewe wrote: > > I just switched one of my Jenkins servers to the LTS release. I downloaded > the war file and replaced my current war file. I then updated the update > site for t

Re: Master + slave + job JVM memory tuning...

2013-01-07 Thread teilo
I would never advise more than one executor per slave :-o At some point there will be unit test failures in a project as it has badly written unit tests that blindly assume they can use port 12345 (and it will be in use for a different job - and then fight each other). And it will be the CI

Re: Null pointer exceptions after upgrade from 1.480.1 to 1.480.2

2013-01-07 Thread Richard Mortimer
Hi Mark, On 07/01/2013 18:21, Mark Waite wrote: I upgraded my Debian Jenkins LTS from 1.480.1 to 1.480.2 today using the Debian package manager. The machine was running with authentication enabled and was using Debian, CentOS, Red Hat, and Windows slave agents. The Linux slave agents are laun

Re: Email-ext plugin for Jenkins 1.464

2013-01-07 Thread Slide
Probably 2.24.1 On Mon, Jan 7, 2013 at 11:43 AM, Sanket wrote: > I am using Jenkins 1.464 at my workplace. I need to send an email on each > notification so I installed email-ext from my organisation's > repository(sorry don't know the version). When I click on Editable Email > Notifications in

Email-ext plugin for Jenkins 1.464

2013-01-07 Thread Sanket
I am using Jenkins 1.464 at my workplace. I need to send an email on each notification so I installed email-ext from my organisation's repository(sorry don't know the version). When I click on Editable Email Notifications in Post-Build Actions, it shows Javascript error 'emailExtInit' is undefi

RE: Master + slave + job JVM memory tuning...

2013-01-07 Thread Jeff
Thanks...I unfortunately can't be in the UK for the event. So if the amount of RAM is fixed (4GB), what is a good rule of thumb for determining what to allocate to the slave process, how many executors it can reasonably support, etc? I realize there are a lot of other variables but any starting p

Running job from master to slave using mave (Error: Maven Home c:\maven doesn´t exist)

2013-01-07 Thread santius
Hello, I am experiencing an issue running Jenkins job using slaves. The job is a Maven job, that updates code from svn and then build and run tests, this project runs well in both master and slave as an standalone project. The issue is when Master launch this project in the slave, in that case I

Null pointer exceptions after upgrade from 1.480.1 to 1.480.2

2013-01-07 Thread Mark Waite
I upgraded my Debian Jenkins LTS from 1.480.1 to 1.480.2 today using the Debian package manager.  The machine was running with authentication enabled and was using Debian, CentOS, Red Hat, and Windows slave agents.  The Linux slave agents are launched with ssh.  The Windows slave agents are laun

How set java.io.tmpdir=/tmp for Jenkins slave?

2013-01-07 Thread Ed of the Mountain
Is there a way to set system property: java.io.tmpdir=/tmp for a slave? I am launching the slave via SSH. I assume if I can map java.io.tmpdir=/volume1/tmp my problem is solved. My problem is I am running out of /tmp space with a Jenkins slave running on a Synology ARM based NAS which uses t

Re: EnvInject plugin not passing environment variable to post build action

2013-01-07 Thread Clemens
Hi, im not sure if i get you correctly, but have you tried a parametrized build to set a variable with your server and use this later ? Because the help description includes : "The Build requires user input (this would be your server) which will be available during the build process." If i cre

Re: Changing dashboard column header names

2013-01-07 Thread Clemens
Hey Jeff, if you really want to change "Configure" you could change the files (coloumnHeader.properties) from the Configure Job Column Plugin. They contain the value for the Column. There is no way to change it in Jenkins. Your second point, console, is not directly connected to this plugin. A

Re: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread Benoît Thiébault
I could, but this is long and tedious... and I would lose the history... On Mon, Jan 7, 2013 at 4:42 PM, Les Mikesell wrote: > On Mon, Jan 7, 2013 at 8:38 AM, bthiebault > wrote: > > Thanks for your answer. > > > > I indeed had seen this bold red text notice but was wondering if it was > only

Re: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread Slide
I've been contemplating writing a conversion plugin, but I don't know enough about the new Hudson format yet to do it. On Mon, Jan 7, 2013 at 8:42 AM, Les Mikesell wrote: > On Mon, Jan 7, 2013 at 8:38 AM, bthiebault > wrote: > > Thanks for your answer. > > > > I indeed had seen this bold red t

Re: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread Les Mikesell
On Mon, Jan 7, 2013 at 8:38 AM, bthiebault wrote: > Thanks for your answer. > > I indeed had seen this bold red text notice but was wondering if it was only > not supported or completely impossible. I guess I have my answer... > I will thus go back to Hudson. Can you re-create the jobs under jenk

Re: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread bthiebault
Thanks for your answer. I indeed had seen this bold red text notice but was wondering if it was only not supported or completely impossible. I guess I have my answer... I will thus go back to Hudson. Kind regards, Ben On Monday, 7 January 2013 15:01:44 UTC+1, slide wrote: > > If you look at th

Re: LTS upgrade notifications

2013-01-07 Thread SBreitbach
Don't use the link on the webpage. Use the link provided by Jenkins itself instead.

RE: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread Alex Earl
If you look at the wiki page for migrating from Hudson, you'll notice in bold red text that you can only upgrade from <=1.398 reliably. Hudson changed the format of their XML after that and so the formats are no longer compatible. Sent from my Windows Phone -- From: bth

LTS upgrade notifications

2013-01-07 Thread Jon Schewe
I just switched one of my Jenkins servers to the LTS release. I downloaded the war file and replaced my current war file. I then updated the update site for the plugins and restarted. Everything is running fine, except when I goto Manage Jenkins I'm still prompted to upgrade to the latest bleeding

trigger re-keying manually

2013-01-07 Thread SBreitbach
Hi everyone! I've updated our LTS version to 1.480.2 just now and accidentially clicked on "Dismiss" for the re-keying message (not knowing I wouldn't be able to bring it up again). How do I trigger the re-keying manually now? Thanks in advance! Steffen

debuging existing plugins

2013-01-07 Thread Levin, Ilya
Hi, I'm trying to debug a plugin using: LOGGER.log(Level.INFO,"Something "), Where can I see this log after starting Jenkins (http://:port/jenkins/log/all doesn't help)? Thanks.

Re: significance of .jenkins diectory tree

2013-01-07 Thread Christopher Orr
On 28/12/12 21:26, Kamal Ahmed wrote: Hi, Does anyone know the significance of /.jenkins and the files/Directories under it? That's where Jenkins stores *all* of its data by default, if you start Jenkins as your user. See https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins Ca

Problem while migrating from Hudson 2.1.2

2013-01-07 Thread bthiebault
Hi everyone, I am running Hudson 2.1.2 on a computer that is going to be upgraded (hardware + OS upgrade to Debian 6). As I need to reinstall everything, I thought it might be a good idea to switch from Hudson to Jenkins. So I installed Jenkins on the new machine (using apt-get) and moved the

RE: Jenkins svn ssh / host key verification problems

2013-01-07 Thread Nord, James
Yes – the slave needs the servers host key in the known_hosts (or you can configure ssh to not use strict host checking[1] – depending on your level of security paranioa ) [1] http://linuxcommando.blogspot.co.uk/2008/10/how-to-disable-ssh-host-key-checking.html From: jenkinsci-users@googlegrou

How can I do something after jenkins checkout code but before package

2013-01-07 Thread fytq813
I have a maven web project,and it quote another maven web project. Then,when I use jenkins build the project from SVN,it will only package this one project,but I want package the two. so,I want checkout another project's code using svn commands after jenkins checkout code but before package, but

Re: Jenkins svn ssh / host key verification problems

2013-01-07 Thread Bjørn Water
So i have checked and the slave where i run my build process on does not contain a host key. So i suspect this slave also needs one? On Friday, January 4, 2013 3:19:31 PM UTC+1, Bjørn Water wrote: > > So i am trying to use the M2-release plugin to release my project and push > it to my nexus. >

RE: Master + slave + job JVM memory tuning...

2013-01-07 Thread Nord, James
Have enough RAM on the slave that you can run your jobs plus Jenkins + some for overhead. (e.g. 1GB of Jenkins slave, + #executors * ( 2GB for Maven +2GB for unit tests in forked VM) + OS overhead) Although this amount is mostly an overkill setting it too close to the threshold will slow your j

Base-URL Confusion

2013-01-07 Thread Johannes Wienke
Dear all, our jenkins is reachable via different URLs / domains. Most of the time this is not an issue, because most links in the web interface are generated relatively to the current URL (our desired behavior). However, sometimes links are generated using a wrong domain, which results in the fact

Re: Jenkins svn ssh / host key verification problems

2013-01-07 Thread Bjørn Water
Anyone that has an idea? It is getting pretty anoying so far . Would love to get this working because it seems very promosing On Friday, January 4, 2013 3:19:31 PM UTC+1, Bjørn Water wrote: > > So i am trying to use the M2-release plugin to release my project and push > it to my nexus. > I can d

Re: LDAP src code

2013-01-07 Thread Ulli Hafner
https://wiki.jenkins-ci.org/display/JENKINS/LDAP+Plugin There is a GitHub link in the plug-in section.. Am 07.01.2013 um 09:24 schrieb "Levin, Ilya" : > Hello, > > I was wondering where can I find ldap plugin src code? > > Thanks

LDAP src code

2013-01-07 Thread Levin, Ilya
Hello, I was wondering where can I find ldap plugin src code? Thanks