Re: Get Build Number in Post Steps System Groovy Script

2013-12-05 Thread Bill Wonch
That did the trick! Thanks! On Wednesday, December 4, 2013 11:12:18 PM UTC-7, Daniel Beck wrote: > > currentBuild.number is also null? > > On 05.12.2013, at 02:04, Bill Wonch > > wrote: > > > Hi everyone - > > > > I've got the following code:

Get Build Number in Post Steps System Groovy Script

2013-12-04 Thread Bill Wonch
Hi everyone - I've got the following code: import hudson.model.*; import hudson.util.*; def thr = Thread.currentThread(); def currentBuild = thr?.executable; def buildNumberField = "BUILD_NUMBER" def resolver = currentBuild.buildVariableResolver def buildNumber = resolver.resolve(buildNumberFie

Re: How to install Windows JNLP service when Jenkins security is on?

2013-05-13 Thread Bill Wonch
I had to make some changes to the arguments section of my slave-config.xml: -server -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+UseG1GC -XX:+AggressiveOpts -jar "%BASE%\slave.jar" -jnlpUrl http://jenkins/computer/Win2k3Server-heqdeviaunv02-32bit/slave-agent.jnlp -classpath

Set parameter from pist-build groovy script

2013-05-13 Thread Bill Wonch
Hi everyone - I found the following on the build-pipeline plugin comments: import hudson.model.AbstractBuild import hudson.model.ParametersAction import hudson.model.StringParameterValue def currentBuild = Thread.currentThread().executable; def newParamAction = new ParametersAction(new StringPa

Groovy Postbuild step not executing?

2013-04-23 Thread Bill Wonch
Hi everyone - I've got an issue with one of my Maven builds - the build itself runs without issue, but I have a groovy postbuild script that doesn't execute. All of my other postbuild stuff runs just fine. Anyone have any advice? I don't even see the script's existence acknowledged in the co

Re: Pass parameters upstream?

2013-03-08 Thread Bill Wonch
Thanks Chris! Not sure how I missed it! On Friday, March 8, 2013 3:10:52 PM UTC-7, Bill Wonch wrote: > > Hi everyone - > > I have a job that runs "Trigger/Call builds on another project" and I need > a way to get that build number (or a couple of files that build

Pass parameters upstream?

2013-03-08 Thread Bill Wonch
Hi everyone - I have a job that runs "Trigger/Call builds on another project" and I need a way to get that build number (or a couple of files that build generates) back to the upstream build for some validation. Is that possible? I'm open to a groovy script or whatever. Thanks! Bill -- Yo

Slow SVN commit from batch step

2013-01-22 Thread Bill Wonch
Hi everyone - We're in the process of moving Jenkins jobs from a POC box to a server that has been configured for that task. We have one job that takes a 100 MB file from a network share, and commits it to trunk, gets some metadata from another process, then creates a tag using that metadata.

Re: Re-key successful or not?

2013-01-09 Thread Bill Wonch
I'm having the same issue. Jenkins is running as the system user on a win2k3 vm, and when I run the re-key, I see several files that Jenkins is unable to delete. I checked folder permissions, and everything looks good. Anyone have any advice? Thanks! Bill On Wednesday, January 9, 2013 6:52

Re: Getting started with slaves

2012-12-12 Thread Bill Wonch
Thanks! That seems to have done the trick. On Wed, Dec 12, 2012 at 1:41 PM, Strausser, Barrett < barrett.straus...@snapretail.com> wrote: > Yeah just move the slave. You should be able to just do D:\JenkinsSlave in > the node configuration. > > > On Wed, Dec 12, 2012 a

Re: Getting started with slaves

2012-12-12 Thread Bill Wonch
I probably could. I just used the jnlp method to create the slave but if another metthod works better, I'm open to it. On Wednesday, December 12, 2012 12:11:30 PM UTC-7, Bill Wonch wrote: > > Hi everyone - > > I just created my first slave node, and I get the following messag

Getting started with slaves

2012-12-12 Thread Bill Wonch
Hi everyone - I just created my first slave node, and I get the following message when I start it: Disk space is too low. Only 0.982GB left on C:\WINDOWS\Temp. I've done some research, and our JVMs are configured in such a way that C: is very small, so I changed the value of java.io.tmpdir to

Re: Jenkins on Windows box

2012-11-28 Thread Bill Wonch
jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] >>> *On Behalf Of *Mark Waite >>> *Sent:* Tuesday, November 27, 2012 5:10 PM >>> *To:* jenkins...@googlegroups.com >>> *Subject:* Re: Jenkins on Windows box >>> >>> >>> &

Re: Jenkins on Windows box

2012-11-28 Thread Bill Wonch
script (not in Jenkins) >> which prevents multiple builds from running concurrently? Jenkins is able >> to run multiple builds concurrently in the tests I've run, without blocking >> one job behind another. >> >> Mark Waite >> >> >> >> >&

Jenkins on Windows box

2012-11-27 Thread Bill Wonch
Hi everyone - Quick question, but it's causing some frustration for our developers. Hope you can help! We have a deploy job that is configured to run concurrent builds, but when I execute more than once, the second job will wait for the first to complete before running the first step (it does

Choice list of all projects with Dynamic Choice Parameter

2012-11-08 Thread Bill Wonch
Hi everyone - I'm trying to get a list of all Jenkins projects into a Dynamic Choice Parameter for a job I need to create. Anyone done anything like this before? Thanks! Bill

Issues with upgrade then downgrade

2012-10-12 Thread Bill Wonch
Hi everyone - I recently upgraded from Jenkins v 1.4.8.0 to 1.4.8.5. It didn't go well... I had a number of projects that would build and then the build would just disappear from the UI. So I reverted. Now, a large number of my jobs have disappeared, and I see a ton of errors like this in t

Re: Issues calling cleartool from Jenkins

2012-08-08 Thread Bill Wonch
r build step. > > > > 1 - > http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service > > > > > On Wed, Aug 8, 2012 at 1:04 PM, Bill Wonch > > > > wrote: > >> I am. I log onto the server as the same account

Re: Issues calling cleartool from Jenkins

2012-08-08 Thread Bill Wonch
w-to-map-a-network-drive-to-be-used-by-a-service > > > > > On Wed, Aug 8, 2012 at 1:04 PM, Bill Wonch > > > > wrote: > >> I am. I log onto the server as the same account the Apache Tomcat 7.0 > >> service is running under. > >> > >

Re: Issues calling cleartool from Jenkins

2012-08-08 Thread Bill Wonch
may need to add > permissions for that user to that share (and actually mount the > network share under that account since mapped drives are not shared > between users). > > slide > > On Wed, Aug 8, 2012 at 12:47 PM, Bill Wonch > > wrote: > > Hi ever

Issues calling cleartool from Jenkins

2012-08-08 Thread Bill Wonch
Hi everyone - I'm having issues calling cleartool from a "Execute Windows Batch Command" step. In Jenkins, I see this output: C:\POC\Jenkins\workspace\Deploy-Flex>cleartool checkout -nc Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip cleartool: Error: Unable to access "Y:\Flex_