Re: Issues installing plugins on XP

2013-12-04 Thread shanz
I'm getting a similar problem - when I visit the manage jenkins page, I get an oops - Could not initialize class hudson.util.jna.Kernel32 Anyone know how to fix this issue? I'm trying jenkins 1.539 and 1.541 (run as a hudson.war windows service). Java 1_07_45 -- You received this message beca

svn 1.7

2012-02-06 Thread shanz
Can Jenkins support svn 1.7? My job complains with - "Please upgrade your Subversion (SVNKit) client to use this working copy". Can I manually upgrade SVNKit? I'm using Jenkins 1.442. Is it worth upgrading to Jenkins 1.450? Does anyone use svn 1.7.x with Jenkins successfully?

Re: svn 1.7

2012-02-06 Thread shanz
the result (I have to do that occasionally). > > Hope that helps > Matthew > > > -Original Message- > > From: jenkinsci-users@googlegroups.com > > [mailto:jenkinsci-users@googlegroups.com] On Behalf Of shanz > > Sent: 06 February 2012 13:34 > >

Re: svn 1.7

2012-02-06 Thread shanz
use SVNKit 1.7.0-alpha2 version, which is available in our maven repository or build SVNKit 1.7.0 from sources. SVNKit 1.7.0-alpha2 is compatible both with the new and old working copy formats, but does not yet support all of the Subversion operations. On Feb 6, 1:55 pm, shanz wrote: > I do

Re: svn 1.7

2012-02-06 Thread shanz
ve a chance to discuss it in detail with KK at FOSDEM, but I know a > few of the devs were discussing it. > > Cheers, > Martijn > > On 6 February 2012 14:02, shanz wrote: > > > > > > > > > Just seen this on svnkit website ... > > > Lastest stable v

USERNAME

2012-02-24 Thread shanz
I have 2 instances of Jenkins. One is on a VM on a server. The other is on a physical laptop. When I open a DOS window and type "set", I see the USERNAME=whatever environment variable exists on both PCs. However, when I open Jenkins and look at /systemInfo, only one of the PCs shows USERNAME (the

Re: USERNAME

2012-02-24 Thread shanz
> > > > > > > > -Original Message----- > From: jenkinsci-users@googlegroups.com > [mailto:jenkinsci-users@googlegroups.com] On Behalf Of shanz > Sent: Friday, February 24, 2012 5:31 AM > To: Jenkins Users > Subject: USERNAME > > I have 2 instances of

Re: How to make variables available to all build steps/action in a job

2012-03-16 Thread shanz
I found that a python script gave me more flexibility in what I could attach to an email... import smtplib import os from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.Utils import COMMASPACE, formatdate from email impo

Re: How to make variables available to all build steps/action in a job

2012-03-20 Thread shanz
Oh yes, you need to define subject up near the top of the script and change the final call to send_mail(). Eg: import smtplib import os from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.Utils import COMMASPACE, formatdat

svn dilemna

2012-03-29 Thread shanz
This is a subversion question rather than a Jenkins one I suppose. Our build on Jenkins takes several hours. Assume the build begins with svn revision 700. If someone commits to Jenkins' trunk (making revision 701) during those build hours, then the resultant executable is out-of-step with the rep

EnvInject Usage

2012-04-05 Thread shanz
Environment variables in jenkins are driving me up the wall! I want to create a "formatted version number", called say BUILD_DATE. Then I want to store this date in an environment variable that subsequent jobs can retrieve. I know I can write it into a file manually but surely the EnvInject plugi

Re: EnvInject Usage

2012-04-05 Thread shanz
bs. > Therefore, EnvInject plugin can read files (properties files) and it > doesn't create files. > If you want to share elements, you have to do yourself. > > > > > > > > On Thu, Apr 5, 2012 at 12:04 PM, shanz wrote: > > Environment variables in j

Re: Is there a way to read a string (version numbers) from a file into jenkins variable?

2012-04-05 Thread shanz
You could create another file with the version number in the java property (key=value) format. Then you can use the EnvInject plugin to inject the environment variable (MY_NEW_VAR) into your job/build. The advantage of this approach is that the variable can be visible throughout the whole job/build

Is there a bug in the EnvInject plugin?

2012-04-11 Thread shanz
I am seeing very odd behaviour after using the EnvInject plugin. I have created a job and all it does is print it's workspace path. Somehow the workspace is not as expected and it actually uses another job's workspace instead! What is going on? I notice that the \builds\\injectedEnvVars.txt file co

Re: Is there a bug in the EnvInject plugin?

2012-04-11 Thread shanz
Oh my mistake I had created a hardcoded environment variable in Windows and forgotten about it!

Re: Is there a way to read a string (version numbers) from a file into jenkins variable?

2012-04-13 Thread shanz
reableCustomWorkspace\labelledJobsEnvVars.txt Then in any subsequent jobs ... Tick "Inject environment variables to the build process" Properties File Path C:\hudson\jobs\shareableCustomWorkspace\labelledJobsEnvVars.txt then just use the variables as normal. That's it! On Apr 6, 12:12 

svn confusion

2012-04-17 Thread shanz
I am using the svn check-out strategy - "Emulate clean checkout by first deleting unversioned/ignored files, then 'svn update'". Before this Emulated Checkout Job is called it is unsafe to assume the location of the working copy folder is known. So the working copy could be be pointing to (possi

Re: svn confusion

2012-04-17 Thread shanz
job. The initial job will call svn switch and svn revert before triggering the Emulate clean checkout. On Tuesday, April 17, 2012 11:07:05 AM UTC+1, shanz wrote: > > I am using the svn check-out strategy - "Emulate clean checkout by first > deleting unversioned/ignored files, then

Re: EnvInject global vs. per job behavior

2012-04-26 Thread shanz
I've recently used the EnvInject plugin on several concurrent jobs. I created a file with the variables in it :- eg: MY_FIRST_VAR=whatever MY_NEXT_VAR=somethingElse Then I tick the box on any job which needs access to either variable and point to the file.

svn checkout strategy error

2012-05-24 Thread shanz
If I choose, "emulate clean checkout by first deleting unversioned/ignored files, then 'svn update'", then I expect the unversioned files/ignored files to be deleted but nothing is touched. I have Jenkins 1.464 and svn plugin v1.40. Anyone got this working? I choose a custom workspace C:\jenkins

User Prompts

2012-06-15 Thread shanz
I know I can use the Parameterized Builds plugin to prompt for user input however this only works for the initial job. I want to ask for user input (eg: Boolean tick box - have you done xyz?), in a job which is in the middle of a list of consecutive jobs. Is this possible?

Re: User Prompts

2012-06-15 Thread shanz
the question is, how are the consecutive jobs being run at the > moment? > > > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@googlegroups.com] *On Behalf Of *shanz > *Sent:* 15 June 2012 15:30 > *To:* jenkinsci-users@googlegroups.com > *Subj

Re: very similar jobs as separate jobs

2012-06-15 Thread shanz
https://groups.google.com/d/topic/jenkinsci-users/02DeNoP5HtA/discussion On Friday, June 15, 2012 4:21:37 PM UTC+1, bram wrote: > > Hello all, > > > We have a lot of jobs which all should start exactly the same way ( > "i.e. check out these 5 repos, copy this here, this there" ) and then > a d

Re: User Prompts

2012-06-15 Thread shanz
On Friday, June 15, 2012 4:08:51 PM UTC+1, shanz wrote: > > I split the whole project into jobs for convenience only, there is nothing > special about having separate jobs. > Job 1 is triggered by a user but then all the subsequent jobs just follow > the previous job automatically.

Re: User Prompts

2012-06-18 Thread shanz
gt; I don't personally use this as we are a small team of 8 people who use the > service and don't mess around things they don't need to. > > Chris > > On Friday, June 15, 2012 4:39:20 PM UTC+1, shanz wrote: >> >> At the moment I am resigned to defeat

Re: Follow the console (plug-in?)

2012-06-29 Thread shanz
I'd like to be able to automatically display the current job's page whilst the build is traversing a sequence of jobs. I have added some user instructions to the Description fields of some later jobs. On Thursday, June 28, 2012 3:23:13 PM UTC+1, SeboPL wrote: > > Hi, > I've got an idea and would