RE: How do i pass a build number to a downstream job for jobs that are part of a Build Pipeline

2014-07-31 Thread Chris_Williams1
Some of our jobs use the following script in a build step to set the build number of the downstream jobs: echo Keep build numbers in pipeline consistent ** "C:\Program Files (x86)\Curl\curl.exe" -d "nextBuildNumber=%BUILD_NUMBER%" http://user:password@localhost:8080/job/DOWNSTREAM_JOB1/

RE: Re:Problem setting up slave on Linux

2014-04-08 Thread Chris_Williams1
It sounds like the Slave Setup Plugin, which should have a section under Configure System labelled “Slave Setups”. Chris Williams Dell | PG Release Engineering From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googl

RE: Re: How to use the same BUILD_NUM in two different jobs?

2013-06-26 Thread Chris_Williams1
To give an example, we have one master job which calls several other sub-jobs in a pipeline fashion. We use a build step in the master job which makes the calls below to set the build numbers of the sub-jobs to match the master job before it calls them: "C:\Program Files (x86)\Curl\curl.exe"

Email-ext plugin. variable substitution in included file ?

2013-01-11 Thread Chris_Williams1
We are using the "${FILE,path}" token to include the contents of a file in the workspace to an email being sent by the Email-ext plugin. We also have a parameter on this particular job (i.e. parameterized build). It appears that if the file being included uses a variable with the same name as

RE: Taking a lot of disk space

2012-09-21 Thread Chris_Williams1
Or you can force it to run for all jobs by running this in the script console: jenkins.model.Jenkins.instance.items.each { it.logRotate() } Chris Williams From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Nord, James Sent: Friday, September 21, 2012

RE: Will reducing the Max # of builds to keep automatically delete old builds?

2012-09-17 Thread Chris_Williams1
FYI, You can also force log rotation (i.e. old build purging) to occur for all jobs by running this in the script console: jenkins.model.Jenkins.instance.items.each { it.logRotate() } -Chris From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Scott E

RE: Unable to exec Powershell on one slave.

2012-06-29 Thread Chris_Williams1
Are you on a 64bit version of Windows, and if so, did you set the policy using both the 32-bit and 64-bit PowerShell exe ? We had a similar error in the past because the policy had been manually set from a command line, which used the 64bit exe, but Jenkins was using the 32bit PowerShell. 32-bi

RE: After upgrade Jenkins stuck with "Please wait while Jenkins is restarting"

2012-04-16 Thread Chris_Williams1
Additionally: http://stackoverflow.com/questions/3042389/tried-to-update-hudson-via-dashboard-and-now-it-doesnt-work-windows -Chris Chris Williams Dell | PG Release Engineering -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf

RE: Post Commit Issue with Jenkins - No subversion jobs found

2012-04-05 Thread Chris_Williams1
Bryan, Did you happen to remove the "poll SCM" setting on the job after you set up the post-commit hook ? The job must still have that set, even if it only polls once per year (for example). -Chris Chris Williams Dell | PG Release Engineering -Original Message- From: jenkinsci-users@

RE: Access denied while trying to copy files

2012-02-29 Thread Chris_Williams1
Is Jenkins running as a Windows service on the XP machine ? If so it may be running under a different user account that does not have permission to the Win7 box. When you run the batch file manually you are using your own login account which *does* have permission. -Chris -Original Message

RE: How do folks look at parameters/settings accross "all projects"?

2012-02-15 Thread Chris_Williams1
I've never used the ConfigSlicer, but you might be able to use a Groovy script, run from the Jenkins script console, to look through the various Jenkins objects. There are several samples here: https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console I created a simple one to look thr