Builds stuck in between the last build step and first post-build action

2012-08-29 Thread miktap
Were are struggling with our builds that are occasionally jamming in between the last build step and first post-build action. The more builds we are running in parallel the more likely we'll face this issue. We are running Jenkins 1.454 and "execute concurrent builds" option to run multiple instanc

Re: Macros not being expanded properly

2012-08-29 Thread Slide
You probably want to use showTruncatedLines=false as a parameter as well. On Wed, Aug 29, 2012 at 5:23 PM, Corey Quinn wrote: > Thanks-- missed that! > > It worked better than before-- the expression is at least being evaluated: > > d0 release of [...truncated 11 lines...] > > and then it munge

Re: getting an uptodate consoleText

2012-08-29 Thread wef
I tried text-finder but it's only available as a 'post-build action' ie after all the post-build steps are finished. What I think I need is a 'post-build step' that I can insert before other post-build steps to stop the build if it sees an error in the log. Sorry if I've confused things. On M

Re: Macros not being expanded properly

2012-08-29 Thread Corey Quinn
Thanks-- missed that! It worked better than before-- the expression is at least being evaluated: d0 release of [...truncated 11 lines...] and then it munges the MIME encoding. Do I have to throw in an EOL character somehow, or is my regexp ill conceived to match on: The hash is 894a07d61e5a5

Re: Macros not being expanded properly

2012-08-29 Thread Slide
Please copy exactly what I typed in my email and use that. On Wed, Aug 29, 2012 at 4:00 PM, Corey Quinn wrote: > Hmm. Same issue: > > d0 release of ${BUILD_LOG_REGEX,regex="The hash is > ([a-f0-9]+)",substText=$1} > > > On Wednesday, August 29, 2012 2:33:33 PM UTC-7, slide wrote: >> >> Do you ha

Re: Macros not being expanded properly

2012-08-29 Thread Corey Quinn
Hmm. Same issue: d0 release of ${BUILD_LOG_REGEX,regex="The hash is ([a-f0-9]+)",substText=$1} On Wednesday, August 29, 2012 2:33:33 PM UTC-7, slide wrote: > > Do you have single quotes as is shown below? Please use double quotes, > and make sure that the value for substText also has double q

Ubuntu's Java and Oracle's Java

2012-08-29 Thread طلال Anthony رابعة
Hello! My Jenkins installation is running on a dated Ubuntu server. The version of Java installed via apt is 1.6.0_10. This version runs Jenkins. The Jenkins installation has Oracle's JDK 1.6.0_34 setup in its configuration. Our job configuration uses this JDK for its JAVA_HOME. I noticed ano

Re: Macros not being expanded properly

2012-08-29 Thread Slide
Do you have single quotes as is shown below? Please use double quotes, and make sure that the value for substText also has double quotes: ${BUILD_LOG_REGEX, regex="The hash is ([a-f0-9]+)", substText="$1"} On Wed, Aug 29, 2012 at 2:15 PM, Corey Quinn wrote: > Hmm. > d0 release of ${BUILD_LOG_R

Re: Macros not being expanded properly

2012-08-29 Thread Corey Quinn
Hmm. d0 release of ${BUILD_LOG_REGEX,regex='The hash is ([a-f0-9]+)',substText=$1} That's taken straight from the subject, changing 1 to $1 didn't solve it. Thoughts? On Aug 29, 2012, at 1:53 PM, Corey Quinn wrote: > Right, except that I want just the hash, not the entire line. > > -- Corey >

Re: Macros not being expanded properly

2012-08-29 Thread Corey Quinn
Nevermind. I am in fact an idiot. Testing now. -- Corey On Wednesday, August 29, 2012 1:54:34 PM UTC-7, Corey Quinn wrote: > > Right, except that I want just the hash, not the entire line. > > -- Corey > >

Re: Macros not being expanded properly

2012-08-29 Thread Corey Quinn
Right, except that I want just the hash, not the entire line. -- Corey On Aug 29, 2012, at 1:53 PM, Slide wrote: > I think you want something like this: > > ${BUILD_LOG_REGEX, regex='The hash is ([a-f0-9]+)', substText="$1"} > > slide > > > On Wed, Aug 29, 2012 at 1:44 PM, Corey Quinn wrote

Re: Macros not being expanded properly

2012-08-29 Thread Slide
I think you want something like this: ${BUILD_LOG_REGEX, regex='The hash is ([a-f0-9]+)', substText="$1"} slide On Wed, Aug 29, 2012 at 1:44 PM, Corey Quinn wrote: > Interesting-- it does not. Does that mean my syntax for BUILD_LOG_REGEX is > broken? If so, how? It appears correct based upo

Re: Macros not being expanded properly

2012-08-29 Thread Corey Quinn
Interesting-- it does not. Does that mean my syntax for BUILD_LOG_REGEX is broken? If so, how? It appears correct based upon what the documentation expects... -- Corey On Wednesday, August 29, 2012 12:13:21 PM UTC-7, slide wrote: > > Let me try something locally...it should be working. Does

RE: Cannot find parent pom, but it IS there

2012-08-29 Thread Davis, Chad
I'm having this problem again. I have a new version of a parent pom, a snapshot version if that matters. It is in Nexus, and from my local command line environment, the parent pom is resolved when I build the child. When the child builds in Hudson, it can't find the parent pom during the pars

RE: Macros not being expanded properly

2012-08-29 Thread Alex Earl
Let me try something locally...it should be working. Does it work if you put it into the content area? Sent from my Windows Phone -- From: Corey Quinn Sent: 8/29/2012 11:55 AM To: jenkinsci-users@googlegroups.com Subject: Re: Macros not being expanded properly Currentl

Re: Macros not being expanded properly

2012-08-29 Thread Corey Quinn
Currently 2.24.1. -- Corey On Wednesday, August 29, 2012 11:20:20 AM UTC-7, slide wrote: > > What version of email-ext are you using? > > On Wed, Aug 29, 2012 at 11:17 AM, Corey Quinn > > > wrote: > > I'm using the Jenkins Email Extension Plugin to send custom email > > notifications. > >

Promotion blocked by current build: Waiting to acquire the workspace

2012-08-29 Thread bl0ck3r
Hi, My manual promotion process is being blocked and the thread dump shows this message: Waiting to acquire /.../workspace/project-name : Executor #2 for hostname : executing project-name » promotion » Promotion #40 This is terrible since the build I need to promote is actually an older build

Re: Macros not being expanded properly

2012-08-29 Thread Slide
What version of email-ext are you using? On Wed, Aug 29, 2012 at 11:17 AM, Corey Quinn wrote: > I'm using the Jenkins Email Extension Plugin to send custom email > notifications. > > I have a line in my buildlog (right near the top) that spits out "The hash > is:" followed by the full git hash. >

Re: The policy on recruiting emails (aka SPAM)

2012-08-29 Thread FredG
+5! On Wednesday, August 29, 2012 6:39:45 PM UTC+2, R Tyler Croy wrote: > > If your first email to the mailing list is a job recruitment email, I ban > you > outright, end of story. > > > > I think emails from active members of the community who need help or are > looking for a contractor/coll

Macros not being expanded properly

2012-08-29 Thread Corey Quinn
I'm using the Jenkins Email Extension Plugin to send custom email notifications. I have a line in my buildlog (right near the top) that spits out "The hash is:" followed by the full git hash. The subject I've set for this job is: d0 release of ${BUILD_LOG_REGEX, regex='The hash is ([a-f0-9]+)',

Re: Is it any good to use Jenkins as a web based UI for running operational scripts?

2012-08-29 Thread Les Mikesell
On Wed, Aug 29, 2012 at 12:45 PM, David Weintraub wrote: > I've always said one of the ways you know a tool is wonderful if it > becomes useful for other tasks that were never anticipated by the > original authors. > > The fact that people are using Jenkins in situations where there is no > build,

Re: Is it any good to use Jenkins as a web based UI for running operational scripts?

2012-08-29 Thread David Weintraub
I've always said one of the ways you know a tool is wonderful if it becomes useful for other tasks that were never anticipated by the original authors. The fact that people are using Jenkins in situations where there is no build, or even real development taking place is a great complement to the J

Re: How to build a project for multiple mobile devices in a single job

2012-08-29 Thread Les Mikesell
On Wed, Aug 29, 2012 at 11:38 AM, bearrito wrote: > Why the insistence on single job? > > Jobs are cheap in Jenkins and it doesn't make sense to couple building > binaries that don't have anything to do with one another except the source. > > I would have a job per binary. I would run them all in

RE: How to build a project for multiple mobile devices in a single job

2012-08-29 Thread Lars Nordin
Have you looked into Matrix (also called multi-configuration) builds? https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project

Re: Follow up

2012-08-29 Thread Andrew Melo
No, I was just wanting to get a hold of a real person. Stop spamming the jenkinsci-users@googlegroups.com group. On Wed, Aug 29, 2012 at 11:55 AM, Mark Melo wrote: > Hi Andrew, > > ** ** > > Thanks for sending across your email. I know you had some questions > about the comms plan so pl

Re: Jenkins Android Emulator plugin is no longer working

2012-08-29 Thread SamL
Hello Folks. I am seeing the same problem Jenkins Core 1.459 Android Emulator Plugin 2.1 My slave is a 64Bit MacOs ProductName:Mac OS X Server ProductVersion: 10.7.4 uname -a Darwin Kernel Version 11.4.0: Mon Apr 9 1

Re: Jenkins Android Emulator plugin is no longer working

2012-08-29 Thread SamL
Just forgot to mention that my Android SDK is 20.0.3 On Thursday, August 23, 2012 2:52:06 PM UTC-7, Sam Xiao wrote: > > Hi all, > > I updated the Android SDK in my build machine, so I can now run ICS emulator > image, but now Jenkins is failing to launch Android Emulator with it. This > very s

Re: Specifying user name and password for svn repo in Job configuration.

2012-08-29 Thread Ramith Jayasinghe
HI, After playing around with jenkins UI, I found that the form located in [1] allows user to enter a authentication mechanism and other relevant information for the svn repository. So If I do the same by POSTing correct parameters programmatically (i.e. HttpClient) it would solve my problem r

Re: Specifying user name and password for svn repo in Job configuration.

2012-08-29 Thread Ramith Jayasinghe
Hi, After playing around with jenkins UI, I figured out that form located at [1] allows user to specify svn credentials per job. Would it be a good/elegant idea to emulate this (by POSTING correct data to relevant url) programmatically to get this done? is there any other way such as specifyin

Re: Jenkins crashing, GLib error

2012-08-29 Thread Bejoy Jaison
Hi, What is the Java version that you are using with Ubuntu 12, so that I can upgrade Java and check again. regards, Bejoy -- View this message in context: http://jenkins.361315.n4.nabble.com/Jenkins-crashing-GLib-error-tp4633744p4638622.html Sent from the Jenkins users mailing list archive

Re: Jenkins Android Emulator plugin is no longer working

2012-08-29 Thread Sam Xiao
On Ubuntu 12.04 64-bits It does work on previous version of Android SDK (but forgot which version, probably R16 or R17?) It runs on the same machine, (no master or slave setup) On Monday, August 27, 2012 2:08:14 PM UTC-7, Christopher Orr wrote: > > Hi again, > > As I just wrote in http://jenkin

GerritTrigger is creating multiple gerrit event listeners for a single project

2012-08-29 Thread joyalbin
Dear All, I am facing one problem with Gerrit Trigger Plugin version 2.5.2 I has seen log telling one event is interested for by three listeners for the same project. But I am not understanding, how the three listener is creating for the same project. If anybody faced the same problem, please let

Re: Multi-project pushes to Bitbucket not triggering all relevant Jenkins jobs

2012-08-29 Thread Paul Hoadley
Hi, On Sun, Aug 26, 2012 at 9:56 AM, Sami Tikka wrote: >> I always thought you have to specify polling schedule if you check the >> polling box... but you can make the polling cycle very long, e.g. once a >> week. On 26/08/2012, at 4:52 PM, Richard Bywater wrote: > Nope - just ticking the bo

The policy on recruiting emails (aka SPAM)

2012-08-29 Thread R. Tyler Croy
If your first email to the mailing list is a job recruitment email, I ban you outright, end of story. I think emails from active members of the community who need help or are looking for a contractor/colleague are acceptable. I've managed to coax KK into giving me admin access for Google Group

Re: How to build a project for multiple mobile devices in a single job

2012-08-29 Thread bearrito
Why the insistence on single job? Jobs are cheap in Jenkins and it doesn't make sense to couple building binaries that don't have anything to do with one another except the source. I would have a job per binary. I would run them all in parallel using either the Join Trigger Plugin or the BuildF

Re: webdriver jenkins

2012-08-29 Thread Suresh Reddy
the error i am getting is Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.23.1', revision: '17143', time: '2012-06-08 18:59:28' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-5-amd

Re: webdriver jenkins

2012-08-29 Thread bearrito
When you say the test is failing could you be a little bit more clear? Is it failing because it can't find the page elements? -b On Wednesday, August 29, 2012 12:01:06 PM UTC-4, Suresh Reddy wrote: > > I have selenium grid installed on jenkins and it is running and displaying > the following me

Re: Is it any good to use Jenkins as a web based UI for running operational scripts?

2012-08-29 Thread R. Tyler Croy
On Tue, 28 Aug 2012, Manglu wrote: > I encountered an operations team which had built a number of jobs in > Jenkins and all it does was kickstart scripts in the OS. > > This sounded a bit strange to me as they are effectively using Jenkins as a > glorified UI for these tasks. I've used this p

Re: Jenkins vs Hudson: Complier warnings

2012-08-29 Thread Ullrich Hafner
On 08/09/2012 03:03 PM, Engler wrote: > I'm having difficulty tring to use the compiler warning plugin on > Jenkins. I have analysis-core and warnings plugins installed. I try > to add the trend graph to the job by configuring the project. I get > the the point in the configuration where you get

RE: Perforce plugin and Globa Password from EnvInject ?

2012-08-29 Thread Richard Otter
No. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Rob Petti Sent: Wednesday, August 29, 2012 8:06 AM To: jenkinsci-users@googlegroups.com Subject: Re: Perforce plugin and Globa Password from EnvInject ? Out of curiosity, a

Re: Problem with deploying to Nexus with Deploy Artifacts action and Promoted Builds plugin

2012-08-29 Thread David Weintraub
On Wed, Aug 29, 2012 at 9:22 AM, Janne Liuhtonen wrote: > Deploying using Maven with > deploy:deploy-file -target works fine, but is cumbersome and it's > tedious to figure out version data from pom.xml and so on, so I'd > prefer to use the Deploy Artifacts action. We use Artifactory, but we also

webdriver jenkins

2012-08-29 Thread Suresh Reddy
I have selenium grid installed on jenkins and it is running and displaying the following message Registered Remote Controls Selenium Grid is running at eosjenkinsv3.qsu-dev.com:. Selenium 1 clients should connect as follows: Selenium selenium = new DefaultSelenium("eosjenkinsv13.qsu-dev123.c

Urgent need Oracle EBS R12 with Accounts Payable (AP)

2012-08-29 Thread nick author
Dear Partners, Hope you are doing great today! I have a excellent requirement for your consultant, if you have any consultant available immediately for the below projects please send me the updated resume. Role: Oracle EBS R12 with Accounts Payable (AP) Location: Princeton NJ Duration:6 Month

Re: Perforce plugin and Globa Password from EnvInject ?

2012-08-29 Thread Rob Petti
Out of curiosity, are you running a matrix build by chance? On Tue, Aug 28, 2012 at 9:05 PM, Rob Petti wrote: > Doubtful. I think you've just bypassed the issue by preventing changeset > descriptions from being retrieved at all. I'll take a look at the double > '-P' problem, and in the meantime l

How to build a project for multiple mobile devices in a single job

2012-08-29 Thread Asmann, Roland
Hi all, We are playing with Apache Cordova (PhoneGap) and are trying to set up a single Build in Jenkins, that will create the Android, Windows Mobile and iPhone binaries. Our first try was using 2 Jenkins instances (master/slave), one on Windows (Windows Mobile binary) and one on OS X (Androi

Urgent need java Developer

2012-08-29 Thread nick author
Job Title: java Developer Location: Cupertino, CA. Duration: 6 Months Java/J2EE Job Description: Must-Haves 1. Design patterns and datastructures (stacks, queues, etc). 2. Java language basics : - Exception Handling 3. Java concurrency framework: Threads, Locks, 4. I/O: File Handling, Socket Pr

Re: Jenkins vs Hudson: Complier warnings

2012-08-29 Thread Engler
bump

Re: Count lines of code in commits

2012-08-29 Thread Mark Waite
Measuring almost anything with lines of code is almost always a bad idea.  It motivates and rewards incorrect behaviors or is ignored completely (and thus does no harm). Having said that, I suspect that Sonar can provide lines of code reports along with other more useful reports (like findbugs

Re: parameterize downstream job with user prompt

2012-08-29 Thread Michael Hüttermann
Hello, I want the user to confirm the parameter before the downstream job starts. The default parameter (i.e. the parameter that is offered the user as default, for confirming or changing) is computed during build time of the upstream job. Any idea how to accomplish that? Thanks. Michael

Problem with deploying to Nexus with Deploy Artifacts action and Promoted Builds plugin

2012-08-29 Thread Janne Liuhtonen
Hi, I'm using Promoted Builds Plugin with Copy Artifacts plugin and "Deploy Artifacts to Maven repository" and I'm trying to create a promotion that would copy the artifact from the build to a special snapshot repository (e.g. for QA purposes) when the build is manually promoted. The deployment it

Re: Count lines of code in commits

2012-08-29 Thread Qazwart
On Aug 29, 2012, at 4:48 AM, fried noodle wrote: > Are there any plugins for Jenkins to show a report about the lines of code > commited by each developer in a particular period (days, weeks, months)? My > manager wants that data to keep track of team's productivity. This makes David sad. In

GerritTrigger is creating multiple gerrit event listeners for a single project

2012-08-29 Thread Albin Joy
Dear All, I am facing one problem with Gerrit Trigger Plugin version 2.5.2 I has seen log telling one event is interested for by three listeners for the same project. But I am not understanding, how the three listener is creating for the same project. If anybody faced the same problem, please let

Re: parameterize downstream job with user prompt

2012-08-29 Thread Christopher Orr
On 08/29/2012 08:46 AM, Michael Hüttermann wrote: can I somehow parameterize a downstream build job with a String where I offer a default value and the user gets a prompt to commit the value or can enter a different one? When would the user enter this? When starting the upstream job, presumabl

Re: Count lines of code in commits

2012-08-29 Thread Edward Cullen
Stephen, On 29/08/12 10:28, Stephen Connolly wrote: > ASIDE: > > Your manager is an idiot. You are officially my HeroOfTheWeek(tm). For Tai: http://www.amazon.com/Practical-Software-Metrics-Management-Improvement/dp/0137203845/ref=pd_sim_b_1/183-7191750-5721106 http://www.amazon.com/The-Mythi

Re: Count lines of code in commits

2012-08-29 Thread Tai Tran
Thanks Stephen and Richard for advice, the Sonar one looks good. I'm gonna fwd your replies directly to her as voices from the community, ha ha ha, I bet she would love your complements. Tai On Wed, Aug 29, 2012 at 4:35 PM, Richard Bywater wrote: > Agreed. > > Personally I like Sonar (http://w

RE: integration between testng-ant-jenkins-testlink

2012-08-29 Thread Jacov Koren
Anyone has a clue on what we're doing wrong ? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jacov Koren Sent: Tuesday, August 28, 2012 10:58 AM To: jenkinsci-users@googlegroups.com Subject: RE: integration between testng-ant-jenkins-testlink Sorry,

Re: Count lines of code in commits

2012-08-29 Thread Richard Bywater
Agreed. Personally I like Sonar (http://www.sonarsource.org/) which gives a more holistic view of things. Although I'm guessing your manager can still read stupid things into it... Richard. On Wed, Aug 29, 2012 at 9:28 PM, Stephen Connolly wrote: > ASIDE: > > Your manager is an idiot. > > The

Re: Count lines of code in commits

2012-08-29 Thread Stephen Connolly
ASIDE: Your manager is an idiot. The most productive programmer may well be the one removing the most code each day/week/month The number of bugs is a function of the number of lines of code, therefore the more lines of code you write the more bugs you write and the harder it is. This is a dang

Count lines of code in commits

2012-08-29 Thread fried noodle
Hi, Are there any plugins for Jenkins to show a report about the lines of code commited by each developer in a particular period (days, weeks, months)? My manager wants that data to keep track of team's productivity. Many thanks in advance. Tai