Re: Automating Releases With maven-release-plugin

2012-06-26 Thread 吴亭
Hi, There are many reasons for the failure release. settings.xml is essential, you need write your repo related info at here. For pom.xml, you need do some basic configuration: Do you write the in your pom? If not, you can not do the maven release. Do you write the tag in your pom file? if no

Re: Automating Releases With maven-release-plugin

2012-06-26 Thread sekar
Hi Tim, Thank you for your input. As your mentioned, i have already configured maven jobs and its running fine. but release is not working properly. Do we need to change any thing in pom.xml and settings.xml file Actually we are using Apache archiva as artifacts repository. -Sekar On Wednesday,

Re: Automating Releases With maven-release-plugin

2012-06-26 Thread 吴亭
Hi Sekar, Before you do this, be sure, you already install Maven 2 or 3 (According to your requirement, we have both), Neuxs (Used to store the jar package) Jenkins Maven release plugin. 1. Config a maven 2 or 3 projects into jenkins 2. copy svn address, input essential info 3. build your project

Automating Releases With maven-release-plugin

2012-06-26 Thread sekar
Hi Any one can share the configuration step to Automating Releases With maven-release-plugin via jenkins. - Maven - Jenkins - Sub version Thank you -Sekar

Re: Using build pipeline and promotion

2012-06-26 Thread Geoff Bullen
Have you tried the latest version of the build pipeline plugin. It allows you to retry successful builds *Geoff Bullen * Centrum Systems Level 8, 5 Elizabeth Street Sydney *0408 659 395 (m) 02 9235 0516 (t)** * http://www.centrumsystems.com.au On 6 June 2012 02:43, Singh wrote: > I am usin

Re: Re: Shell script working in command prompt not in jenkins

2012-06-26 Thread Varghese Renny
My system user is sigma.but i am running jenkins on tomcat6 user and tomcat6 group. So which user i have to specify in sudeors file. Thanks > >

Can i run master and slave on same machine

2012-06-26 Thread Varghese Renny
I have a doubt regarding, if multipe jobs are there ,is it better to distribute build on slave or do it on master itself? if i can do master and slave? how can i implement this?

Re: Re: running Jenkins on https

2012-06-26 Thread dkoper
It was Jenkins v1.471 so I've opened https://issues.jenkins-ci.org/browse/JENKINS-14223. Thanks! On Tuesday, June 26, 2012 7:49:53 PM UTC+10, vjuranek wrote: > > On Tuesday 26 June 2012 19:28:19 Dies Koper wrote: > > Hi, > > > > I downloaded it only a few days ago, so that would be 1.472 or 1.

Re: Re: running Jenkins on https

2012-06-26 Thread Dies Koper
That is correct. Rather than changing the browser setting (I'm sure there is a global browser setting to prevent the warning from being displayed) I'd like Jenkins to behave like a good Internet citizen and not mix https/http content (or not assume http to be precise). In a few hours I'll be able t

Re: Windows Jenkins Service, how to determine if 2nd job should be started?

2012-06-26 Thread louwho
While I am grateful for any help that I can get, I cannot say that I am crazy about being critiqued because I do not write in the style that you prefer. I will have to take a look at how everyone else does this forum 'thing'. I thought that I had written a clear and concise summary of my probl

Re: Windows Jenkins Service, how to determine if 2nd job should be started?

2012-06-26 Thread Jan Seidel
Hiya, first of all if you expect help try a more convenient formatting like *line breaks*. Your text is SOO annoying that I had to think twice if I really want to read your case and reply on it ... There are many approaches to achieve your solution. Using the changelog file from Jenkins is desp

Re: Job continually builds even though no SCM changes happened....

2012-06-26 Thread Jeff
I noticed that in the polling.log of all builds it seemed to always be getting and old revision. On a whim, I made an innocuous change to my POM to force it to a newer revision and now it seems to work. Maybe it was an SVN (svnbridge -> TFS) caching issue...or something. Thanks for all the help.

Re: Re: running Jenkins on https

2012-06-26 Thread Jan Seidel
Proove my wrong but this is afaik a setting of IE to rpotect the user. You have by default a prompt for confirmation in IE if the content is mixed https/http content. This has been invented to counteract phishing and forgery. Am Dienstag, 26. Juni 2012 11:49:53 UTC+2 schrieb vjuranek: > > On Tues

Does Jenkins have something like CruiseControl's "ignoreFiles" attribute?

2012-06-26 Thread Chip Whitmer
CruiseControl's configuration file includes an element with an optional attribute named "ignoreFiles". (See http://cruisecontrol.sourceforge.net/main/configxml.html#modificationset) This allows you to exclude certain files so that changes to those files do NOT trigger a new build. For example,

Re: Job continually builds even though no SCM changes happened....

2012-06-26 Thread Jan Seidel
Oh... I get it now ^^ C:\Jenkins\jobs\[CB_name]\scm-polling.log contains the last revision number that has been polled C:\Jenkins\jobs\[CB_name]\builds\2012-[latest_date_and_time]\polling.log has stored the revision of the previous build. My suspicion is that there might be a problem. You could

Re: Job continually builds even though no SCM changes happened....

2012-06-26 Thread Jeff
I pasted in my polling log...here it is again: Started on Jun 26, 2012 1:56:00 PM Received SCM poll call on for DnaCommonDomain (trunk) on Jun 26, 2012 1:56:01 PM http://tfsapp06.myfamily.int:8083/DNA/Common/DnaCommonDomain is at revision 156,395 (changed from *156,279*) Done. Took 1 sec Chang

Re: Job continually builds even though no SCM changes happened....

2012-06-26 Thread Jan Seidel
Hi Jeff, honestly, I don't see the problem... the plugin works as expected as far as I can tell from the revision numbers. Jenkins notices changes in the revision number which obviously is true. You should take a look at the SVN history log to see what is happening in the meantime. The plugin r

Re: Job continually builds even though no SCM changes happened....

2012-06-26 Thread Jeff
I should also mention I'm running Jenkins 1.472 with all updates for all plugins I'm using. On Tue, Jun 26, 2012 at 1:08 PM, Jeff wrote: > We are polling SVN, so I assume that is the plugin being used. > > Here is the head of the job log: > > Started by an SCM change > Building in workspace C:\.

Re: Job continually builds even though no SCM changes happened....

2012-06-26 Thread Jeff
We are polling SVN, so I assume that is the plugin being used. Here is the head of the job log: Started by an SCM change Building in workspace C:\.jenkins\jobs\AAACommonDomain (trunk)\workspace Cleaning local Directory . Checking out http://tfsapp06.mycompany.int:8083/AAA/Common/AAACommonDomain A

Re: Job continually builds even though no SCM changes happened....

2012-06-26 Thread Andrey Myatlyuk
Jeff, Which plugin are you using to poll SCM? Can you post jobs logs? Andrey On Tue, Jun 26, 2012 at 10:51 AM, Jeff wrote: > I have a small job that says something has changed every time it polls > SCM, yet the revision numbers are always the same. How do I fix it? > > I can't see where Jenki

Job continually builds even though no SCM changes happened....

2012-06-26 Thread Jeff
I have a small job that says something has changed every time it polls SCM, yet the revision numbers are always the same. How do I fix it? I can't see where Jenkins stores the last revision it is using to determine if something changed. -- Jeff Vincent predato...@gmail.com See my LinkedIn profi

Re: Rename a job with REST API

2012-06-26 Thread Tony Chia
Hi Vincent, I had the same question a few days ago and through trial and error and watching the access and error log, I found posting to the following URL worked for me. /job/$CurrentJobName/doRename?newName=$NewJobName Cheers, Tony On Tuesday, May 22, 2012 4:47:52 AM UTC-7, HARDION Vincent wro

Re: slave url as a parameter?

2012-06-26 Thread BillR
Thanks Chris, For the moment I was thinking of running the test on the Jenkins master, having allocated a node (for webdriver use) to pass as an argument on the maven line. So far I'm not seeing a way to allocate a node explicitly like this - it just seems to allocate nodes that it uses to launch

Re: Re: Shell script working in command prompt not in jenkins

2012-06-26 Thread Vojtech Juranek
On Tuesday 26 June 2012 06:28:29 Varghese Renny wrote: > Hi, > > sudo: sorry, you must have a tty to run sudo > > What to do for this erro? comment Defaultsrequiretty :-) if you are getting sudo: no tty present and no askpass program specified make sure, that it run under sigma user. If you

Windows Jenkins Service, how to determine if 2nd job should be started?

2012-06-26 Thread louwho
The first job does a MSBuild of the binaries, and then commits them into a SVN repository that the second job will pull from. The second job uses the stand alone (command line), build of Installshield. This second job can either be manually started by someone using the dashboard, or, when the

Re: Shell script working in command prompt not in jenkins

2012-06-26 Thread Varghese Renny
Hi, sudo: sorry, you must have a tty to run sudo What to do for this erro?

Re: Jenkins run extra VM slaves

2012-06-26 Thread Sergey Irisov
Ok, looks similar. I used 1.465, updating now. Seems all works fine now. Thank you. On Tuesday, June 26, 2012 4:35:50 PM UTC+4, cjo wrote: > > Which version of Jenkins are you using? > > As there was an issue fixed on this recently, which was included in 1.468. > https://issues.jenkins-ci.org/bro

Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
Yeah, i changed like /usr/share/tomcat6/.jenkins/Eulen/killpostgres.sh , still i am getting tty not present error and no askpass program specifed. > > >

Re: Shell script working in command prompt not in jenkins

2012-06-26 Thread Vojtech Juranek
make sure that in /etc/sudoers this line is commented out #Defaultsrequiretty On Tuesday 26 June 2012 05:57:41 Varghese Renny wrote: > #!/bin/sh > pid=$(pidof postgres) > echo $pid > sudo kill $pid > pg_ctlcluster 8.4 main start > > > This script is just for killing processid using postgres

Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
I commented Defaults tty so it is showing sudo: no tty present and no askpass program specified sudo: no tty present and no askpass program specified Sorry, try again. when i uncomment it sudo: sorry, you must have a tty to run sudo What can i do?

RE: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Stanley, Jason
In your Jenkins job...enter the following in the script section and then run the job. /path/to/script/killpostgres.sh Change /path/to/script to reflect your project directory. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Varghese Renny Sent: T

Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
Actually i am calling like bash -ex killpostgres.sh killpostgres.sh is in my project directory. sudo is inside the shell script sudo kill $pid

Re: RE: Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Vojtech Juranek
I guess turning off tty (at least on RHEL like distors switched on by default) should solve the problem, just comment line Defaultsrequiretty in /etc/sudoers Of course you should have setup sudo not to ask passwd (NOPASSWD option) On Tuesday 26 June 2012 08:23:19 Stanley, Jason wrote: > Ah...

RE: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Stanley, Jason
The problem is with sudo being called in Jenkins. You don’t need a slave to workaround this problem…..just call the script located on the master from your Jenkins job. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Varghese Renny Sent: Tuesday, Jun

Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
Ok..but i don't have any slave. i am doing it in master only. i will start it as a new thread..

Shell script working in command prompt not in jenkins

2012-06-26 Thread Varghese Renny
#!/bin/sh pid=$(pidof postgres) echo $pid sudo kill $pid pg_ctlcluster 8.4 main start This script is just for killing processid using postgres database. This is not working inside jenkins.. Error showing is sudo: no tty present and no askpass program specified sudo: no tty present and no askp

Re: Force to specify JDK version

2012-06-26 Thread Michaël Pailloncy
Yes, I could set the JDK with the Configuration Slicing too, but I think it would be better to force it during job creation/modification to ensure that at anytime, JDK (Maven, Ant, or others tools) version is set precisely. 2012/6/26 Jacob Robertson > I don't know how convenient it is for you to

Re: Force to specify JDK version

2012-06-26 Thread Jacob Robertson
I don't know how convenient it is for you to use a Groovy script, but you might also take a look at the Configuration Slicing plugin which provides a GUI to look at all jobs' JDKs at one time and choose their JDK in bulk. On Tue, Jun 26, 2012 at 2:07 AM, Michaël Pailloncy wrote: > Thanks for your

Re: Jenkins run extra VM slaves

2012-06-26 Thread cjo
Which version of Jenkins are you using? As there was an issue fixed on this recently, which was included in 1.468. https://issues.jenkins-ci.org/browse/JENKINS-13735 Is this the same issue? Chris On Tuesday, June 26, 2012 11:28:42 AM UTC+1, Sergey Irisov wrote: > Hello. > I'm using Jenkins w

RE: Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Stanley, Jason
Ah...I encountered this same problem. In my environment, I have the master/slave configuration. For a workaround, I had Jenkins call this script on the slave machine. For example, let's call your script pg_cluster.sh I would place this script on the slave machine and in my Jenkins job, I issued

Re: Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
#!/bin/sh > pid=$(pidof postgres) > echo $pid > kill $pid > pg_ctlcluster 8.4 main start > > > Actually this shell script is working if i execute like bash killpostgres.sh But inside the jenkins it's showing error like sudo: no tty present and no askpass program specified sudo: no tty present an

RE: Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Stanley, Jason
I am assuming the kill command is failing. Outside of your script, if you have sudo setup correctly, the user who is running the script should be able to run the command: sudo kill If that fails, you need to fix the sudoers configuration. In your script, just add 'sudo' to the kill command.

Re: Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
#!/bin/sh pid=$(pidof postgres) echo $pid kill $pid pg_ctlcluster 8.4 main start I am doing only this much of thing ...in command prompt i used sudo kill manullay... but in shell while i executing it's saying operation not permitted kill : 4 : operation not permitted.. i assume this is some permi

RE: Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Stanley, Jason
Inside your shell script, just enter the following: sudo From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Varghese Renny Sent: Tuesday, June 26, 2012 7:45 AM To: jenkinsci-users@googlegroups.com Subject: Re: Re: Re: jenkins java.outofmemory:permGen s

Re: Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
Thank you so much vjuranek..At last my build is successful..As you are a redhat engineer one doubt.. Usually we can run kill as sudo kill -9 pid But inside the shell script while running it's saying operation not permited..how can simulate sudo inside a shell script? i started shell for contino

Re: Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Vojtech Juranek
On Tuesday 26 June 2012 03:10:53 Varghese Renny wrote: > In jenkins Whether any config file related to project? I am not getting you > which project config file you are mentioning? I mean job configuration page, i.e. $JENKINS_URL/job/$JON_NAME/configure Lets assume it a maven project. In "Advanced

Jenkins run extra VM slaves

2012-06-26 Thread Sergey Irisov
Hello. I'm using Jenkins with nodelabel and parametrized trigger plugins to build jobs on different slaves. But here is problem. When there are several jobs in queue with same node parameter (and slave has only one executor), so target slave is busy and one job pending in queue, Jenkins start

Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
In jenkins Whether any config file related to project? I am not getting you which project config file you are mentioning?

Re: log message issue

2012-06-26 Thread cjo
Hi, The Log Parser plugin is used to highlight the console log, i.e. highlight failure sections etc. this requires that some global configuration is done see section "Console Output Parsing" in the amin Jekins configuration page. See https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin

Re: Job is done, but does not finish.

2012-06-26 Thread Vojtech Juranek
isn't it possible, that it still runs some post-build action which gets stuck? You can check $JENKINS_URL/threadDump what it waits for On Tuesday 26 June 2012 02:58:24 Dio wrote: > All command has been done, but job doesn't finish and hold job continuously. > > so, I restarted Jenkins and it see

Job is done, but does not finish

2012-06-26 Thread Dio
All command has been done, but job doesn't finish and hold job continuously. so, I restarted Jenkins and it seems solved for a while, It is happenning again. Jenkins-CI Version is 1.467 our structure is master / slave structure. *-- LOG -- * *- Fail * 1) ~ 21:30:35 POST BUILD TASK : SUC

Job is done, but does not finish.

2012-06-26 Thread Dio
All command has been done, but job doesn't finish and hold job continuously. so, I restarted Jenkins and it seems solved for a while, It is happenning again. Jenkins-CI Version is 1.467 our structure is master / slave structure. *-- LOG -- * *- Fail * 1) ~ 21:30:35 POST BUILD TASK : SUC

Re: Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Vojtech Juranek
you have to setup permgen size in project config page. The permgen size specified in catalina opts for jenkins applies only to jenkins server itself and doesn't affect permgen size of built project - it run in different JVM On Tuesday 26 June 2012 02:13:06 Varghese Renny wrote: > No, the whole p

Re: Re: running Jenkins on https

2012-06-26 Thread Vojtech Juranek
On Tuesday 26 June 2012 19:28:19 Dies Koper wrote: > Hi, > > I downloaded it only a few days ago, so that would be 1.472 or 1.471, I'll > can check tomorrow. > Looks like the issue crept in again? probably yes, if so, please log a JIRA request in https://issues.jenkins- ci.org in core component

Re: slave url as a parameter?

2012-06-26 Thread cjo
Bill, There is the NODE_NAME environment variable which gives you the name of the node the job is running on, however this just gives you the name of the node as defined in Jenkins, this may or may not match to your machine hostname especially if you run multiple slaves on the same machine. I

Re: running Jenkins on https

2012-06-26 Thread Dies Koper
Hi, I downloaded it only a few days ago, so that would be 1.472 or 1.471, I'll can check tomorrow. Looks like the issue crept in again? On Tue, Jun 26, 2012 at 7:01 PM, Vojtech Juranek wrote: > Hi, > which Jenkins version do you use? This was fixed in Jenkins 1.418 > Vojta > > On Tuesday 26 Jun

Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
No, the whole project i am building. i am using 1.447.1 version for jenkins. i increased the permGen size till 512mb.. Still i am getting this error..getting heap size more than 500mb.

Jenkins maven project wrong downsteam jobs

2012-06-26 Thread Kanstantsin Shautsou
Hello, after update to 1.471 job saw downsteam projects that doesn't exist in config.xml. It very critical and i not know what else to check. Job recretaion with copy not help. Any ideas?

Re: running Jenkins on https

2012-06-26 Thread Vojtech Juranek
Hi, which Jenkins version do you use? This was fixed in Jenkins 1.418 Vojta On Tuesday 26 June 2012 00:59:26 dkoper wrote: > Hi, > > I've configured Jenkins to be served through https (to be precise, jenkins > is running on its web server on http which is fronted by Apache HTTP Server > only has

Re: Dynamic slaves?

2012-06-26 Thread Stephen Connolly
Andrew, I don't know of any such plugin. There are some subtle bugs that can be introduced if you do the slave provisioning in a Cloud implementation wrong, they usually won't show up unless provisioning goes wrong or where a retention strategy tries to remove a partially provisioned slave or wher

Re: Node notify plug-in

2012-06-26 Thread Vojtech Juranek
Hi, this plugin is not supported on 1.424. The plugin states that ir requires 1.432, but it also requires ruby-runtime:0.9, which requires 1.447. So probably the best way is to upgrade you Jenkins to 1.447 if you want to use this plugin Vojta On Tuesday 26 June 2012 00:26:04 Suri wrote: > Hi >

Re: jenkins java.outofmemory:permGen space error

2012-06-26 Thread Vojtech Juranek
Hi, is this failure of one particular build or whole Jenkins? Do you increase pergem size for jenkins of in setup of the build? Vojta On Tuesday 26 June 2012 01:28:49 Varghese Renny wrote: > While doing build, i am started getting this error, > i increased the heap size and permgen size to 1024

jenkins java.outofmemory:permGen space error

2012-06-26 Thread Varghese Renny
While doing build, i am started getting this error, i increased the heap size and permgen size to 1024 and 512 mb respectively in catalina_opts and java_opts.Still i am getting this error. I have searched so many blogs, not able to find proper solution. I am using ubuntu 12.04 64bit. Heap Dumb i

running Jenkins on https

2012-06-26 Thread dkoper
Hi, I've configured Jenkins to be served through https (to be precise, jenkins is running on its web server on http which is fronted by Apache HTTP Server only has its https port open and redirects to Jenkins). This works fine except for one ugly annoyance: IE pops up a warning with the followi

Node notify plug-in

2012-06-26 Thread Suri
Hi I have installed Node notify plug-in in my Jenkins version 1.424 version. But it is not working. Getting below mentioned error May 31, 2012 4:54:55 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading plugin nodeofflinenotification java.io.IOException: Dependency ruby

Re: Force to specify JDK version

2012-06-26 Thread Michaël Pailloncy
Thanks for yours replies ! @Andrey : I know how to configure a JDK in Jenkins configuration but I would like to force users to specify a JDK during a job configuration. Actually, a user can set JDK to 'default value'. I would like to force him to set 'jdk1.5' or 'jdk1.6' instead of default. Actua