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

2013-01-04 Thread syl20bnr
Can you give me more details on your hierarchy so I can try to reproduce this bug ? Thank you. Le jeudi 3 janvier 2013 23:02:15 UTC-5, JonathanRRogers a écrit : > > Whenever I run a job generator job to delete an existing hierarchy of > generated jobs, the generator jobs themselves get stuck. Th

Changing dashboard column header names

2013-01-04 Thread Jeff
Is changing the column names possible? I just added the Configure Job Column Plugin that gives me a direct link to the job configuration. However the column name is called "Configure" which is about 8 characters wider than the icon: [image: Inline image 1] which is a wasted space. I have the

Re: Run junkins jobs as different user

2013-01-04 Thread Les Mikesell
On Fri, Jan 4, 2013 at 3:35 PM, Adam Tong wrote: > We are using Linux. > > So maybe there is a way to that on Linux? But this supposes Jenkins > offers that possibility. If you use ssh to start the slave, you should be able to log in as any user - as long as you have the password or set up keys.

Re: Deleting Bogus Users

2013-01-04 Thread axelabs
A delete option became available to me for the 'bogus' users after I've did 'add description' after clicking on the user in question. -- View this message in context: http://jenkins.361315.n4.nabble.com/Deleting-Bogus-Users-tp3745626p4650456.html Sent from the Jenkins users mailing list archive

Re: Two quick questions about slave nodes.

2013-01-04 Thread Andrew Bayless
Ah, Thank you very much for the input. Andrew On Friday, January 4, 2013 11:18:56 AM UTC-8, LesMikesell wrote: > > On Fri, Jan 4, 2013 at 1:02 PM, Andrew Bayless > > > wrote: > > My original purposes were to use a build server to build computer > > appliances. While removing the JAR file is

Master + slave + job JVM memory tuning...

2013-01-04 Thread Jeff
I'm trying to optimize how much memory I allocate to the master application (aka - tomcat), slave processes, maven tasks, etc. and going crazy. I've been unsuccessful in finding a guideline to determine how much memory I ought to allocate or if I should just let the defaults work. All machines ar

Re: Run junkins jobs as different user

2013-01-04 Thread Adam Tong
We are using Linux. So maybe there is a way to that on Linux? But this supposes Jenkins offers that possibility. On Fri, Jan 4, 2013 at 4:30 PM, Jason Swager wrote: > The company I work for had a similar issue. Our solution was to run slaves > that were logged in as the user to be tested. We

RE: Run junkins jobs as different user

2013-01-04 Thread Neerenberg, Aaron
I tend to use the “start slave as service” option under windows, and just gave it the credentials to use on the slave nodes in the slave configuration. Running the jnlp start as specific users worked well for us for a while, but the jnlp startup mode didn’t always reconnect as well as the servi

Re: Run junkins jobs as different user

2013-01-04 Thread Jason Swager
The company I work for had a similar issue. Our solution was to run slaves that were logged in as the user to be tested. We had to use the JNLP slave starting method for this work properly; the SSH and Windows Services methods always logged in as an admin. Then we targeted the job at the par

Re: Run junkins jobs as different user

2013-01-04 Thread Adam Tong
Hi, If it is complicated to make it personalized (each job has a possibility to get run under a different user), Running the hole service and all jobs as a specific user different than the default "jenkins" user would help me to solve the issue that I have now. Thank you On Fri, Jan 4, 2013 at 4

Re: Run junkins jobs as different user

2013-01-04 Thread Slide
Do you want to run the whole service under a different user or just specific jobs? slide On Fri, Jan 4, 2013 at 2:10 PM, Adam Tong wrote: > Hi, > > Is there a way to run jenkins as a different user? > > If yes please tell me how. > > Thank you > -- Website: http://earl-of-code.com

Run junkins jobs as different user

2013-01-04 Thread Adam Tong
Hi, Is there a way to run jenkins as a different user? If yes please tell me how. Thank you

publish-over-ssh plugin not transferring files

2013-01-04 Thread iamgenius
Hi, I am trying to use publish-over-ssh plugin along with Jenkins on Windows 2008 R2 server. Jenkins plug-in is installed and seems to be configured correctly. I can see in the verbose output (pasted below) that Jenkins is able to connect to the remote unix server and is able to run a command b

Re: Two quick questions about slave nodes.

2013-01-04 Thread Les Mikesell
On Fri, Jan 4, 2013 at 1:02 PM, Andrew Bayless wrote: > My original purposes were to use a build server to build computer > appliances. While removing the JAR file is not absolutely necessary for the > functionality of the appliances as their presence it not a hindrance on that > functionality, it

Re: Two quick questions about slave nodes.

2013-01-04 Thread Andrew Bayless
My original purposes were to use a build server to build computer appliances. While removing the JAR file is not absolutely necessary for the functionality of the appliances as their presence it not a hindrance on that functionality, it would be preferable to have no files that are unnecessary

Build hang, apparently related to template jobs plugin and artifacts

2013-01-04 Thread Mandeville, Rob
I have a job which uses the template jobs plugin to use builders and publishers from other projects. I'm also using the timeout plugin to give an absolute timeout of 1120 minutes (18 hours 40 minutes). After 10-12 hours, the actual build completes and writes "Build finished" to the console log

Re: Two quick questions about slave nodes.

2013-01-04 Thread Andrew Bayless
Thank you, I believe this answers much of my question. I apologize for my poor choice of words. What you are doing here is what I meant by installing a slave on a machine remotely. After copying over the JAR file automatically, is it possible for the slave to delete the JAR file after it has

Re: Build hangs with Jenkins, runs fine from command line

2013-01-04 Thread Bryan Evenson
slide, That did it! I first tried just allowing the service to interact with the desktop, and I started getting a few messages popping up from Jenkins. One of the messages showed that flexlm was trying to do something. I had no idea that the compiler I was using was using flexlm for license man

RE: Two quick questions about slave nodes.

2013-01-04 Thread Mandeville, Rob
Do you mean installing a slave or launching it? A slave is simply a .jar file. Copy it where it needs to be, make sure you have a JVM that can run it, and you’ve installed it. I have a number of slaves set up with “launch by running a command on the server”. Said command just ssh’s to the tar

Re: Two quick questions about slave nodes.

2013-01-04 Thread Jonathan Rogers
Andrew Bayless wrote: > Hello, > > I have two quick questions about Jenkins slaves: > > 1) Is it possible to have Jenkins install a slave on a machine remotely ? > > 2) Is it possible to have a slave uninstall itself ? Neither installation nor uninstallation is necessary in many cases as long as a

Re: serially build on multiple slaves

2013-01-04 Thread Les Mikesell
On Fri, Jan 4, 2013 at 11:16 AM, christopher barry wrote: > Greetings, > > I have jenkins setup in a vm, and have 3 vm slaves all on the same > physical machine - each with a different distro with different > dependency versions for our application. Each time git has changed, all > 3 slaves build

Two quick questions about slave nodes.

2013-01-04 Thread Andrew Bayless
Hello, I have two quick questions about Jenkins slaves: 1) Is it possible to have Jenkins install a slave on a machine remotely ? 2) Is it possible to have a slave uninstall itself ? Thank you, Andrew

Re: Build hangs with Jenkins, runs fine from command line

2013-01-04 Thread Slide
You could take a look at [1] and see if this works for you. I've had success with something similar in the past. slide 1 - http://lostechies.com/keithdahlby/2011/08/13/allowing-a-windows-service-to-interact-with-desktop-without-localsystem/ On Fri, Jan 4, 2013 at 10:47 AM, Mark Waite wrote: >

RE: Post Build Task matching - quick question

2013-01-04 Thread Merrow, Frank
I am not saying this is your issue, but you have a minor bug . . . a missing “.” After the second S in SUCCESS: ^.*POST.*BUILD.*TASK.*SUCCESS.*$ Because of the missing “.” . . . if there was any white space after SUCCESS the rexexp would fail. Might be your problem . . . might not. Frank Fro

Re: Build hangs with Jenkins, runs fine from command line

2013-01-04 Thread Mark Waite
Just guessing, but is your Jenkins on Windows configured to run as a service?   If so, then there may be portions of your build which assume that a desktop is available, or that the process is running in a desktop context. I spent a little time wrestling with trying to perform builds as a service

Re: Git question...

2013-01-04 Thread Mark Waite
That is very good news.   You might consider using the plugin that automatic labels slaves (and the master).  It labels for operating system type, operating system release, and processor type, and spares you the hassle of remembering to apply those types of labels. Mark Waite >_

now getting 401 unauthorized in jenkins when deploying artifact to archiva maven repo

2013-01-04 Thread Gary Ogden
This used to work before I upgraded Jenkins to 1.494. Now I get this error in Jenkins when using the promoted builds plugin to copy the war artifact to the snapshot repo: ERROR: Failed to deploy artifacts: Could not transfer artifact com.blah.data:RestWebServices:war:1.0-20121224.163825-2 from/

Need your help on Plot plugin.

2013-01-04 Thread rangashankar
Hi Team, Bit puzzled, Need your help to know if the following .csv data format works for Plot plugin. API Query Count XX,INSERT , 2 YY,INSERT , 4 DD,UPDATE , 4 SS,UPDATE , 33 and also, can we plot Bar graph with it ? Thanks in advance, Shankar -- View this message

getting 401 unauthorized in jenkins when deploying artifact to archiva maven repo

2013-01-04 Thread Gary Ogden
This used to work before I upgraded Jenkins to 1.494. Now I get this error in Jenkins when using the promote builds plugin to copy the war artifact to the snapshot repo. But nothing has changed except I upgraded the jenkins.war. ERROR: Failed to deploy artifacts: Could not transfer artifact >

getting 401 unauthorized in jenkins when deploying artifact to archiva maven repo

2013-01-04 Thread oggie
This used to work before I upgraded Jenkins to 1.494. Now I get this error in Jenkins when using the build promotion plugin to copy the war artifact to the snapshot repo. It used to work and the only thing that changed was the jenkins.war.I have the creds in the settings.xml file:Not sure why t

Re: Change path of .m2 directory if using maven-plugin

2013-01-04 Thread Alec Disharoon
I'm having this issue, too. Since we already set a JENKINS_HOME, shouldn't that be used, instead of whatever user.home is set to? For me, Jenkins is running under Tomcat from Ubuntu's apt repository, so it is running as the tomcat7 user which has a home of /usr/share/tomcat7, which isn't writa

Post Build Task matching - quick question

2013-01-04 Thread zw
Hi We have a plugin to perform task post build. We have 2 post tasks We tried to match this string below, belonging to the first post task run POST BUILD TASK : SUCCESS On our second post task, we tried to match it, as a condition, to ^.*POST.*BUILD.*TASK.*SUCCESS*$ But we're getting Cou

serially build on multiple slaves

2013-01-04 Thread christopher barry
Greetings, I have jenkins setup in a vm, and have 3 vm slaves all on the same physical machine - each with a different distro with different dependency versions for our application. Each time git has changed, all 3 slaves build at the same time. Is there a way to have jenkins build on slave1, and

Re: Git question...

2013-01-04 Thread Jeff
That was it! Thank you! I had the auto installer running "sudo apt-get install git" on nodes labeled "Linux" but didn't label the master because it wasn't doing builds. It didn't occur to me that the job configs still needed the tool configured. I added the label "Linux" to the master config an

Build hangs with Jenkins, runs fine from command line

2013-01-04 Thread Bryan Evenson
All, I am new to Jenkins and have two separate build jobs setup. One job builds successfully and the other one fails. On the one that fails, Jenkins successfully checks the project out of Subversion, successfully runs "make clean", starts "make all" but then hangs when compiling the first source

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread Bjørn Water
Yes i have checked both the user file wich is jenkins and the root and they both contain . Still think that it is very wierd that a checkout works and tagging it works aswell but doing a release gives host problems. Shouldn't checkout and tag give the same problem then? On Friday, January 4, 20

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread teilo
are you sure you are looking in the correct file? it should be in the home file of the user that the jenkins service runs as. for the rpm the default (IIRC is ~jenkins/.ssh/known_hosts) - it may be somewhere else depending on your container / launch /install method. the svn commands also needs to

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread Bjørn Water
I have removed the host from the file and then ran it again. There is no entry being made in that file so it does not override or writes something to the known_hosts file On Friday, January 4, 2013 3:54:09 PM UTC+1, teilo wrote: > > Jenkins tags using its inbuilt library (svnkit) as far as I am a

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread Bjørn Water
yes it is in var/lib/jenkins/.ssh thats is where our keys are already in place On Friday, January 4, 2013 4:09:53 PM UTC+1, Adam Tong wrote: > > Hi, > > Did you try copying the .ssh folder to the jenkins folder? > > I am using git but this solved the problem. > > > On Fri, Jan 4, 2013 at 9:19

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread Adam Tong
Hi, Did you try copying the .ssh folder to the jenkins folder? I am using git but this solved the problem. On Fri, Jan 4, 2013 at 9:19 AM, 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 do svn checkout and i can even ta

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread teilo
Jenkins tags using its inbuilt library (svnkit) as far as I am aware so the native ssh client doesn't get a look in. to see if its overridden the entry just check ~/.ssh/known_hosts for an entry for your server (after you removed it) What happens if as the jenkins user on the slave you run svn

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread Bjørn Water
Hi James, I have manually removed the entry from the file and then did a SSH command again and accepted the certificate. Still getting the same problems as before. Is there a way to see if it overrides the entry? Because it works when I tag it and that is also a commit right? Thanks, Bjørn On

How to do paremeterized bbuild through mail comander plugin

2013-01-04 Thread Subodh Konhor
Hi, I have configured the mail commander plugin but I am unable to trigger parameterised build for the build. Below is the subject that I use build rel4.0-Patch -p TOBUILD_PATCHES=tcpproxy -p RELEASE=auto -p BUILDNUM=auto -p TOBUILD_PACKAGE=cae Thanks, Subodh

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread teilo
I have completely to opposite experience, native svn+ssh is so much simpler than all other options! The provider also says it only works with http/https so may not even be much use (but then again documentation could just be out of date) On Friday, 4 January 2013 14:32:35 UTC, domi wrote: > > W

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread domi
We had lots of issues when using the cli subversion client for release builds, therefore we moved to the svnjava provider and have no issues anymore: http://code.google.com/a/apache-extras.org/p/maven-scm-provider-svnjava/ /Domi On 04.01.2013, at 15:19, Bjørn Water wrote: > So i am trying to us

Re: Jenkins svn ssh / host key verification problems

2013-01-04 Thread teilo
Hi Bjørn As the jenkins user on the slave ssh to the svn server and accept its key. Depending on your ssh clinet it may override the entry stored in ~/.ssh/known_hosts or may not. (if not then remove the entry manually from this file and retry with the ssh command) That should get it work

Jenkins svn ssh / host key verification problems

2013-01-04 Thread Bjørn Water
So i am trying to use the M2-release plugin to release my project and push it to my nexus. I can do svn checkout and i can even tag my build and see it in my repo but when i try to do mvn release:prepare after a succesfull build i get an error [ERROR] BUILD FAILURE[INFO] --

AW: SCM polling stopped to work

2013-01-04 Thread Knuplesch , Jürgen
Hello, I have the same challenge. I use Jenkins 1.480.1 The only thing that helps so far is a Jenkins restart. It happens now and then, but I can not figure out why. It seems the complete polling is not working anymore. Juergen Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@go

maven property as argument to post install script

2013-01-04 Thread ashutosh.kumar17
I want to invokde a post install shell script with developent environment (dev/qa/prod) as argument to it. How can I pass this property to script? Thanks Ashutosh

Exception running on slaves

2013-01-04 Thread Jorge Costa
Hi, I get this exception sometimes in random dumb agents. [CloneExtTSProjects] $ sscm.exe cc / -d20130104012439:20130104044329 -y+ -zA-SeapineEXT8:4900 -bTSProjects -pTSProjects\Construsoft -r FATAL: Unable to call join. Invalid object ID 44680java.lang.IllegalStateException

Re: Git question...

2013-01-04 Thread Michaël Pailloncy
Hi, We've faced with the same problem in our company. Do you used an automatic installation for git in the global configuration ? It seems that, the Git plugin uses the first Git installation found in Jenkins global configuration (see https://github.com/jenkinsci/git-plugin/blob/master/src/main/