how to trigger a job on remote jenkins server after one job is successfully built

2012-08-08 Thread ZHANG Xinchun A
Hello all,
I want to trigger a job to start build on another pc's Jenkins server after one 
of my job is completed.
I tried to use the post-build option "build other project", but it looks like 
that it only allows to start a job on the same Jenkins pc.
Is there any way to do this?
Thanks.

Br,
Tony Zhang, Tz


Fw: Project changes sometimes lost in Jenkins LTS 1.466.1?

2012-08-08 Thread Mark Waite
I missed that you had sent the response to both me and the list.  This is to 
the list in case it helps anyone else..

Mark


- Forwarded Message -
>From: Mark Waite 
>To: David Aldrich  
>Sent: Wednesday, August 8, 2012 6:21 PM
>Subject: Re: Project changes sometimes lost in Jenkins LTS 1.466.1?
> 
>
>Some of your plugins seem quite outdated.  That might be part of the problem.
>
>
>For example, my installation of 1.466.1 has:
>
>
>CV 2.4 (bundled plugin)
>xUnit 1.47
>Active Directory 1.29
>Email-ext 2.24.1
>Naginator 1.8
>Subversion 1.42
>
>
>Those are all higher versions than you have installed.
>
>
>I can't find matching plugins in the "Available" list for several of the 
>plugins you listed.
>
>
>You might consider checking the logs to see if Jenkins is writing any log 
>messages during the time you see the problem.  That might help further narrow 
>the problem.
>
>Mark Waite
>
>
>
>
>
>
>
>>
>> From: David Aldrich 
>>To: Mark Waite  
>>Cc: "jenkinsci-users@googlegroups.com"  
>>Sent: Wednesday, August 8, 2012 6:50 AM
>>Subject: RE: Project changes sometimes lost in Jenkins LTS 1.466.1?
>> 
>>
>> 
>>Hi Mark
>> 
>>Well, I can’t say it happens often, perhaps I should give it a bit longer to 
>>see how it goes.
>> 
>>Ø  Can you provide the list of plugins which are installed, and their 
>>versions?
>> 
>>CVS 1.6
>>xUnit 1.45
>>Active Directory 1.19
>>Email-ext 2.14.1
>>Naginator1,7
>>Subversion 1.34
>>Translation Assistance 1.8
>>ant 1.1
>>javadoc 1.0
>>Retry Failed Builds 1.1
>>SetEnv 1.1
>>TextFinder 1.9
>>Cron Column 1.003
>>TimeStamper 1.2.2
>>cppunit 1.10
>>Maven 1.466.1
>>Distributed Fork 1.3
>>Backup 1.6.1
>>Doxygen  0.11
>>Job configuration history  1.13
>>Static Analysis  1.43
>>MSBuild  1.12
>>Warnings 4.13
>>SSH Slaves0.21
>> 
>>>Can you confirm that your Internet Explorer and Windows OS have been updated 
>>>with the latest changes from Windows Update?
>> 
>>Yes.
>> 
>>>Can you share which operating system you're running, and whether it is 32 
>>>bit or 64 bit?
>> 
>>Browser runs on Win 7 64-bit Prof
>> 
>>>Are you running Internet Explorer 9 32 bit (the default) or Internet 
>>>Explorer 9 64 bit?
>> 
>>64 bit, I think.
>> 
>>>What operating system is hosting Jenkins?  If Windows, are you running under 
>>>a user account (logged in user) or as the system account (installed using 
>>>the installer)?
>> 
>>Jenkins runs on Centos 5 64-bit
>> 
>>Best regards
>> 
>>David
>> 
>>From:jenkinsci-users@googlegroups.com 
>>[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite
>>Sent: 08 August 2012 12:26
>>To: jenkinsci-users@googlegroups.com
>>Subject: Re: Project changes sometimes lost in Jenkins LTS 1.466.1?
>> 
>>I didn't see that in my testing of Jenkins LTS, but that may only hint that I 
>>didn't have the right combination of conditions, and you have the right 
>>combination of conditions to show the problem.
>> 
>>Can you provide the list of plugins which are installed, and their versions?
>> 
>>Can you confirm that your Internet Explorer and Windows OS have been updated 
>>with the latest changes from Windows Update?
>> 
>>Can you share which operating system you're running, and whether it is 32 bit 
>>or 64 bit?
>> 
>>Are you running Internet Explorer 9 32 bit (the default) or Internet Explorer 
>>9 64 bit?
>> 
>>What operating system is hosting Jenkins?  If Windows, are you running under 
>>a user account (logged in user) or as the system account (installed using the 
>>installer)?
>> 
>>Mark Waite
>> 
>>>
>>>
>>> 
>>>From:David Aldrich 
>>>To: "jenkinsci-users@googlegroups.com"  
>>>Sent: Wednesday, August 8, 2012 2:25 AM
>>>Subject: Project changes sometimes lost in Jenkins LTS 1.466.1?
>>> 
>>>Hi
>>> 
>>>Since upgrading from Jenkins LTS 1.447.1 to LTS 1.466.1 a few days ago, I 
>>>sometimes find that when I edit a project’s configuration and hit the Save 
>>>button the browser window goes blank, i.e. the dashboard does not reappear.  
>>>When I access the dashboard by re-entering the Jenkins url in the browser’s 
>>>address bar, I find that my changes were lost.
>>> 
>>>Has anyone else seen this behaviour?
>>> 
>>>I am using IE9.
>>> 
>>>Best regards
>>> 
>>>David
>>> 
>>> 
>> 
>>Click here to report this email as spam.
>>
>>
>
>

Re: email notification on abort

2012-08-08 Thread J Arrizza
The Jenkins version is 2.24.1, the Hudson one seems to stop at 2.10.  We're
currently running Hudson and planning to migrate to Jenkins.

So in short, yet one more reason to move to Jenkins...

Again, thanks for help.

John

On Tue, Aug 7, 2012 at 2:14 PM, Slide  wrote:

> The latest is 2.24.1
> (https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin)
>
> On Tue, Aug 7, 2012 at 2:08 PM, John Arrizza  wrote:
> > Seems eminently reasonable. But there is no such trigger in my
> installation. The plugin version is 2.7, the latest is 2.10, so I am
> updating it. However the release notes don't mention anything about abort
> trigger added in 2.8, .9, .10 so will let you know if there is still an
> issue.
> >
> > Thanks
> > John
> >
> >  Original Message 
> >  From: Slide 
> >  Sent: Tue, Aug 7, 2012 13:21
> >  To: jenkinsci-users@googlegroups.com
> >  CC:
> >  Subject: Re: email notification on abort
> >
> >>Try the Aborted trigger, this is what it is for.
> >>
> >>slide
> >>
> >>On Tue, Aug 7, 2012 at 1:20 PM, J Arrizza  wrote:
> >>> Hi,
> >>>
> >>> Is there a way to get an email notification when a job aborts? I use
> the
> >>> email-ext plugin for notifications.
> >>>
> >>> There are two scenarios:
> >>> - a user clicks the cancel job (red "x")
> >>> - the Hudson Build Timeout plugin ("abort the build if it's stuck")
> aborts
> >>> the build because of time-out
> >>>
> >>> Thanks in advance for your help,
> >>> John
> >>
> >>
> >>
> >>--
> >>Website: http://earl-of-code.com
>
>
>
> --
> Website: http://earl-of-code.com
>


Re: Issues calling cleartool from Jenkins

2012-08-08 Thread Bill Wonch
I'll give that a shot.  Not sure how to do it for a Dynamic ClearCase view 
though.

On Wednesday, August 8, 2012 3:20:32 PM UTC-6, slide wrote:
>
> Agreed...I can't count on all my digits the number of times NOT using a 
> UNC has brought me pain. 
>
> Sent from my Windows Phone 
> From: Richard Bywater 
> Sent: 8/8/2012 2:18 PM 
> To: jenkins...@googlegroups.com  
> Subject: Re: Issues calling cleartool from Jenkins 
> Or, probably more reliable, use the full UNC path rather than rely on 
> drive mappings - will save you pain down the road :) 
>
> Richard. 
>
> On 9/08/2012, at 8:28 AM, Slide > wrote: 
>
> > Please see here [1] which says that persistent network shares are not 
> > accessible from services, even if logged in as the same account. You 
> > may need to manually map the drive as part of your 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 the Apache Tomcat 7.0 
> >> service is running under. 
> >> 
> >> 
> >> On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote: 
> >>> 
> >>> I Y: a network share? If so, are you running from the command line as 
> >>> the same user that Jenkins is running as? If not, you 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 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_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No 
> such 
>  file 
>  or directory. 
>  
>  
>  When I run the same command from the command line, it works fine: 
>  
>  
>  C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc 
>  Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip 
>  Checked out 
>  "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" 
>  from version "\main\10". 
>  
>  
>  This is on a WinXP machine. 
>  
>  
>  Anyone come across this before? 
>  
>  
>  Thanks! 
>  
>  
>  Bill 
> >>> 
> >>> 
> >>> 
> >>> -- 
> >>> Website: http://earl-of-code.com 
> > 
> > 
> > 
> > -- 
> > Website: http://earl-of-code.com 
>


Re: Issues calling cleartool from Jenkins

2012-08-08 Thread Bill Wonch


On Wednesday, August 8, 2012 3:20:32 PM UTC-6, slide wrote:
>
> Agreed...I can't count on all my digits the number of times NOT using a 
> UNC has brought me pain. 
>
> Sent from my Windows Phone 
> From: Richard Bywater 
> Sent: 8/8/2012 2:18 PM 
> To: jenkins...@googlegroups.com  
> Subject: Re: Issues calling cleartool from Jenkins 
> Or, probably more reliable, use the full UNC path rather than rely on 
> drive mappings - will save you pain down the road :) 
>
> Richard. 
>
> On 9/08/2012, at 8:28 AM, Slide > wrote: 
>
> > Please see here [1] which says that persistent network shares are not 
> > accessible from services, even if logged in as the same account. You 
> > may need to manually map the drive as part of your 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 the Apache Tomcat 7.0 
> >> service is running under. 
> >> 
> >> 
> >> On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote: 
> >>> 
> >>> I Y: a network share? If so, are you running from the command line as 
> >>> the same user that Jenkins is running as? If not, you 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 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_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No 
> such 
>  file 
>  or directory. 
>  
>  
>  When I run the same command from the command line, it works fine: 
>  
>  
>  C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc 
>  Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip 
>  Checked out 
>  "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" 
>  from version "\main\10". 
>  
>  
>  This is on a WinXP machine. 
>  
>  
>  Anyone come across this before? 
>  
>  
>  Thanks! 
>  
>  
>  Bill 
> >>> 
> >>> 
> >>> 
> >>> -- 
> >>> Website: http://earl-of-code.com 
> > 
> > 
> > 
> > -- 
> > Website: http://earl-of-code.com 
>


RE: Issues calling cleartool from Jenkins

2012-08-08 Thread Alex Earl
Agreed...I can't count on all my digits the number of times NOT using a
UNC has brought me pain.

Sent from my Windows Phone
From: Richard Bywater
Sent: 8/8/2012 2:18 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Issues calling cleartool from Jenkins
Or, probably more reliable, use the full UNC path rather than rely on
drive mappings - will save you pain down the road :)

Richard.

On 9/08/2012, at 8:28 AM, Slide  wrote:

> Please see here [1] which says that persistent network shares are not
> accessible from services, even if logged in as the same account. You
> may need to manually map the drive as part of your 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 the Apache Tomcat 7.0
>> service is running under.
>>
>>
>> On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote:
>>>
>>> I Y: a network share? If so, are you running from the command line as
>>> the same user that Jenkins is running as? If not, you 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 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_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such
 file
 or directory.


 When I run the same command from the command line, it works fine:


 C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc
 Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip
 Checked out
 "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip"
 from version "\main\10".


 This is on a WinXP machine.


 Anyone come across this before?


 Thanks!


 Bill
>>>
>>>
>>>
>>> --
>>> Website: http://earl-of-code.com
>
>
>
> --
> Website: http://earl-of-code.com


Re: Issues calling cleartool from Jenkins

2012-08-08 Thread Richard Bywater
Or, probably more reliable, use the full UNC path rather than rely on
drive mappings - will save you pain down the road :)

Richard.

On 9/08/2012, at 8:28 AM, Slide  wrote:

> Please see here [1] which says that persistent network shares are not
> accessible from services, even if logged in as the same account. You
> may need to manually map the drive as part of your 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 the Apache Tomcat 7.0
>> service is running under.
>>
>>
>> On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote:
>>>
>>> I Y: a network share? If so, are you running from the command line as
>>> the same user that Jenkins is running as? If not, you 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 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_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such
 file
 or directory.


 When I run the same command from the command line, it works fine:


 C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc
 Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip
 Checked out
 "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip"
 from version "\main\10".


 This is on a WinXP machine.


 Anyone come across this before?


 Thanks!


 Bill
>>>
>>>
>>>
>>> --
>>> Website: http://earl-of-code.com
>
>
>
> --
> Website: http://earl-of-code.com


Re: Issues calling cleartool from Jenkins

2012-08-08 Thread Slide
Please see here [1] which says that persistent network shares are not
accessible from services, even if logged in as the same account. You
may need to manually map the drive as part of your 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 the Apache Tomcat 7.0
> service is running under.
>
>
> On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote:
>>
>> I Y: a network share? If so, are you running from the command line as
>> the same user that Jenkins is running as? If not, you 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 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_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such
>> > file
>> > or directory.
>> >
>> >
>> > When I run the same command from the command line, it works fine:
>> >
>> >
>> > C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc
>> > Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip
>> > Checked out
>> > "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip"
>> > from version "\main\10".
>> >
>> >
>> > This is on a WinXP machine.
>> >
>> >
>> > Anyone come across this before?
>> >
>> >
>> > Thanks!
>> >
>> >
>> > Bill
>>
>>
>>
>> --
>> Website: http://earl-of-code.com



-- 
Website: http://earl-of-code.com


Re: Issues calling cleartool from Jenkins

2012-08-08 Thread Bill Wonch
I am.  I log onto the server as the same account the Apache Tomcat 7.0 
service is running under.

On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote:
>
> I Y: a network share? If so, are you running from the command line as 
> the same user that Jenkins is running as? If not, you 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 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_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such 
> file 
> > or directory. 
> > 
> > 
> > When I run the same command from the command line, it works fine: 
> > 
> > 
> > C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc 
> > Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip 
> > Checked out 
> "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" 
> > from version "\main\10". 
> > 
> > 
> > This is on a WinXP machine. 
> > 
> > 
> > Anyone come across this before? 
> > 
> > 
> > Thanks! 
> > 
> > 
> > Bill 
>
>
>
> -- 
> Website: http://earl-of-code.com 
>


Re: Issues calling cleartool from Jenkins

2012-08-08 Thread Slide
I Y: a network share? If so, are you running from the command line as
the same user that Jenkins is running as? If not, you 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 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_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such file
> or directory.
>
>
> When I run the same command from the command line, it works fine:
>
>
> C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc
> Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip
> Checked out "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip"
> from version "\main\10".
>
>
> This is on a WinXP machine.
>
>
> Anyone come across this before?
>
>
> Thanks!
>
>
> Bill



-- 
Website: http://earl-of-code.com


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_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such file or 
directory.


When I run the same command from the command line, it works fine:


C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc 
Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip
Checked out "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" from 
version "\main\10".


This is on a WinXP machine.


Anyone come across this before?


Thanks!


Bill



how to write a file via post-build groovy plug in slave

2012-08-08 Thread michael chiu
hi ALL,
  Does anyone have experience in write a file in the slave 
workspace via post-build groovy plugins ?
  I know how to read it but I don't know how to write it back .
  I always got the following error 
groovy.lang.MissingMethdexception: No signature of method...
  thanks in advanced.
Regards,
   
 


RE: Cannot find parent pom, but it IS there

2012-08-08 Thread Davis, Chad

> In old versions of Jenkins/Hudson, the -U flag is not used for the POM 
> parsing step (although it is used for the build step) leading to 
> inconsistencies depending on the state of > your local repository.
>

My projects use a private repository, if that matters.  Isn't there anyway to 
set this to be cleaned for each build?  IT seems like it would be a necessity . 
. .


RE: Cannot find parent pom, but it IS there

2012-08-08 Thread Davis, Chad


> What is your directory structure? That is where is your parent Pom relative to
> your child project
> 

My parent pom is not in a hierarchical directory structure.  This is not a 
requirement, is it?  It should resolve from my nexus repository though.  And it 
does from my local build, just not in Hudson.


How to change the background colour(Blue) in jenkins..

2012-08-08 Thread Varghese Renny

  Please give me a suggestion to change the background tab colour of 
jenkins..i wanted to make it white..
How can i do that?


Thanks in Advance
varghese


CVS + SSH non default port

2012-08-08 Thread Rodri
Hi,
Jenkins have a problem trying to connect to the cvs server using a non 
default port: 

cvs checkout -P -r BranchXXX -d workspace workspaceXXX
>
>   ...
>
  ... 
>
ERROR: CVS Authentication failed: Timeout, no response from server.
>
>
I can log in using the command line, I mean I can execute the same command 
that jenkins is trying to execute, (setting the CVSROOT) with no issues:


cvs -d :extssh:USER@SERVER:/export/cvs checkout -P -r BranchXXX -d workspace 
workspaceXXX
>
>
Because, I've setted the ~/.ssh/config file:(as this guy explains 
http://www.bartbusschots.ie/blog/?p=527)

 

> Host SERVER 

Port 123
>

If I don't create this config file I'm not able to log in through the terminal, 
same problem that Jenkins has.

I tried setting the config file where jenkins takes the private key, but no 
luck...
How can I set the config file to tell jenkins the port that my server uses?

Thanks in advance! 




RE: Project changes sometimes lost in Jenkins LTS 1.466.1?

2012-08-08 Thread David Aldrich
Hi Mark

Well, I can’t say it happens often, perhaps I should give it a bit longer to 
see how it goes.


Ø  Can you provide the list of plugins which are installed, and their versions?

CVS 1.6
xUnit 1.45
Active Directory 1.19
Email-ext 2.14.1
Naginator1,7
Subversion 1.34
Translation Assistance 1.8
ant 1.1
javadoc 1.0
Retry Failed Builds 1.1
SetEnv 1.1
TextFinder 1.9
Cron Column 1.003
TimeStamper 1.2.2
cppunit 1.10
Maven 1.466.1
Distributed Fork 1.3
Backup 1.6.1
Doxygen  0.11
Job configuration history  1.13
Static Analysis  1.43
MSBuild  1.12
Warnings 4.13
SSH Slaves0.21

>Can you confirm that your Internet Explorer and Windows OS have been updated 
>with the latest changes from Windows Update?

Yes.

>Can you share which operating system you're running, and whether it is 32 bit 
>or 64 bit?

Browser runs on Win 7 64-bit Prof

>Are you running Internet Explorer 9 32 bit (the default) or Internet Explorer 
>9 64 bit?

64 bit, I think.

>What operating system is hosting Jenkins?  If Windows, are you running under a 
>user account (logged in user) or as the system account (installed using the 
>installer)?

Jenkins runs on Centos 5 64-bit

Best regards

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite
Sent: 08 August 2012 12:26
To: jenkinsci-users@googlegroups.com
Subject: Re: Project changes sometimes lost in Jenkins LTS 1.466.1?

I didn't see that in my testing of Jenkins LTS, but that may only hint that I 
didn't have the right combination of conditions, and you have the right 
combination of conditions to show the problem.

Can you provide the list of plugins which are installed, and their versions?

Can you confirm that your Internet Explorer and Windows OS have been updated 
with the latest changes from Windows Update?

Can you share which operating system you're running, and whether it is 32 bit 
or 64 bit?

Are you running Internet Explorer 9 32 bit (the default) or Internet Explorer 9 
64 bit?

What operating system is hosting Jenkins?  If Windows, are you running under a 
user account (logged in user) or as the system account (installed using the 
installer)?

Mark Waite


From: David Aldrich 
mailto:david.aldr...@emea.nec.com>>
To: "jenkinsci-users@googlegroups.com" 
mailto:jenkinsci-users@googlegroups.com>>
Sent: Wednesday, August 8, 2012 2:25 AM
Subject: Project changes sometimes lost in Jenkins LTS 1.466.1?

Hi

Since upgrading from Jenkins LTS 1.447.1 to LTS 1.466.1 a few days ago, I 
sometimes find that when I edit a project’s configuration and hit the Save 
button the browser window goes blank, i.e. the dashboard does not reappear.  
When I access the dashboard by re-entering the Jenkins url in the browser’s 
address bar, I find that my changes were lost.

Has anyone else seen this behaviour?

I am using IE9.

Best regards

David




Click 
here
 to report this email as spam.


promoted-builds plugin latest (2.6.2) version not in update center

2012-08-08 Thread Eric Jutrzenka
Hi,

I'm keen to try out the promoted-builds again now that 
JENKINS-13631 has 
been fixed, but it doesn't appear to be showing up in the update center.

Cheers,

Erc


Re: Cannot find parent pom, but it IS there

2012-08-08 Thread Vincent Latombe
In old versions of Jenkins/Hudson, the -U flag is not used for the POM
parsing step (although it is used for the build step) leading to
inconsistencies depending on the state of your local repository.

This was fixed in Jenkins 1.461.

In any case, possible workarounds are :
- switch to freestyle job (no parsing involved *before* the build)
- empty local repository

Vincent


2012/8/7 Jeff 

> The parent POM need not be in the path at all...if the relative path is
> not specified and there is no parent POM in the immediate parent (../)
> folder, maven will download it just like any other dependency.  The parent
> version also need not be related to the child project version at all.
>
> I currently treat my Parent POM as a separate project and version/release
> it independently from my 25 other projects.
> On Aug 6, 2012 8:22 PM, "Russ Tremain"  wrote:
>
>> well probably what I would do is eliminate jenkins from the mix entirely.
>>
>> create a tiny pom that references the parent.
>>
>> then run it on the same machine that jenkins is running on.
>>
>> does it work?
>>
>> if so diff it against the pom that is not working.
>>
>> is it the same?
>>
>> hard to believe it is a jenkins issue, but I generally avoid the direct
>> execution route for maven - I wrap a shell script around it.
>>
>> sometimes the parent references can be tricky.  the name and version
>> elements have to agree exactly.
>>
>> I usually am referencing these poms with a relative path .. and I don't
>> use snapshots for them.  as an example:
>>
>>
>>  
>> 
>> 
>> build-common-dao
>> com.iii
>> 640.0.0
>> ../../../../build-common/dao
>> 
>>
>> I have had instances where the path is correct but the name is wrong, and
>> then it balks.
>>
>> If you are worried about maven updating to snapshots, remove the artifact
>> in your local build repository (~/.m2/repository is the default) and force
>> it to load again.
>>
>> good luck!
>>
>> /r
>>
>>
>>
>> At 3:11 PM -0400 8/3/12,  wrote:
>> > > this is more of a maven question, I think.
>> >>
>> >> Try turning -X on in the maven job to find out where it is looking.
>> >>
>> >
>> >Thanks.  I've already done that though.  The output is below.  Note, the
>> remote repository where it claims to be looking does indeed hold the
>> artifact.  Moreover, other projects on the same build server can access it
>> there.
>> >
>> >It may very well be a maven problem, but how do I fix it.  I'm using a
>> private maven repository for the build, as are the others that can
>> successfully retrieve the artifact.  From what I understand, I would
>> suspect a maven caching issue, but the -U is supposed to resolve that, as
>> far as I know.
>> >
>> >
>> >ERROR: Failed to parse POMs
>> >org.apache.maven.project.ProjectBuildingException: Cannot find parent:
>> com.my.group:project-pom for project:
>> com.my.group.service.common:common:pom:1.1.0-SNAPSHOT for project
>> com.my.group.service.common:common:pom:1.1.0-SNAPSHOT
>> >   at
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370)
>> >   at
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
>> >   at
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
>> >   at
>> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:215)
>> >   at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:332)
>> >   at
>> hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:871)
>> >   at
>> hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:794)
>> >   at hudson.FilePath.act(FilePath.java:753)
>> >   at hudson.FilePath.act(FilePath.java:735)
>> >   at
>> hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:534)
>> >   at
>> hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:420)
>> >   at
>> hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
>> >   at hudson.model.Run.run(Run.java:1257)
>> >   at
>> hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306)
>> >   at
>> hudson.model.ResourceController.execute(ResourceController.java:88)
>> >   at hudson.model.Executor.run(Executor.java:127)
>> >Caused by: org.apache.maven.project.ProjectBuildingException: POM
>> 'com.my.group:project-pom' not found in repository: Unable to download the
>> artifact from any repository
>> >
>> >  com.my.group:project-pom:pom:1.1.0-SNAPSHOT
>> >
>> >from the specified remote repositories:
>> >  nexus (http://myNexus.com:8081/nexus/content/groups/public)
>> > for project com.my.group:project-pom
>> >   at
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603)
>> >   at
>> org.apache.maven.project.DefaultMa

Re: Project changes sometimes lost in Jenkins LTS 1.466.1?

2012-08-08 Thread Mark Waite
I didn't see that in my testing of Jenkins LTS, but that may only hint that I 
didn't have the right combination of conditions, and you have the right 
combination of conditions to show the problem.

Can you provide the list of plugins which are installed, and their versions?

Can you confirm that your Internet Explorer and Windows OS have been updated 
with the latest changes from Windows Update?

Can you share which operating system you're running, and whether it is 32 bit 
or 64 bit?

Are you running Internet Explorer 9 32 bit (the default) or Internet Explorer 9 
64 bit?

What operating system is hosting Jenkins?  If Windows, are you running under a 
user account (logged in user) or as the system account (installed using the 
installer)?

Mark Waite



>
> From: David Aldrich 
>To: "jenkinsci-users@googlegroups.com"  
>Sent: Wednesday, August 8, 2012 2:25 AM
>Subject: Project changes sometimes lost in Jenkins LTS 1.466.1?
> 
>
> 
>Hi
> 
>Since upgrading from Jenkins LTS 1.447.1 to LTS 1.466.1 a few days ago, I 
>sometimes find that when I edit a project’s configuration and hit the Save 
>button the browser window goes blank, i.e. the dashboard does not reappear.  
>When I access the dashboard by re-entering the Jenkins url in the browser’s 
>address bar, I find that my changes were lost.
> 
>Has anyone else seen this behaviour?
> 
>I am using IE9.
> 
>Best regards
> 
>David
> 
>
>

Re: Delete button on build steps not working

2012-08-08 Thread cjo
There were several issues linked to this problem and they all started in 
1.474, where the javascript was separated out into separate files for each 
of the components.

I investigated this under JENKINS-14495[1], which was linked to the main 
issue JENKINS-14514 [2]

Jesse, added a fix on Friday that resolves this and it should be released 
into 1.477.


Chris, 

[1] https://issues.jenkins-ci.org/browse/JENKINS-14495 
[2] https://issues.jenkins-ci.org/browse/JENKINS-14514 

On Wednesday, August 8, 2012 5:20:50 AM UTC+1, slide wrote:
>
> Well, sadly, I can't find the thread that I was thinking existed in 
> the archives. I thought I ran into this issue at some point and posted 
> to the mailing list, but I can't find that information. I'll continue 
> digging. 
>
> On Tue, Aug 7, 2012 at 8:13 PM, Stuart Whelan 
> > wrote: 
> > It happens on all build step types. 
> > 
> > The elements for the button are: 
> > 
> >  type="hidden"> 
> >  
> > 
> > This is different to the other buttons I can see on the page, which 
> > have ids and indexes: 
> > 
> > Save 
> > 
> > Thanks for your help! 
> > 
> > On Wed, Aug 8, 2012 at 3:03 PM, Alex Earl > 
> wrote: 
> >> 
> >> What happens if you try a build step that is not an msbuild build step? 
> Try a windows batch build step, does it also have the sane issue? Can you 
> inspect the element of the button in chrome and see if there is anything 
> out of the ordinary? 
> >> 
> >> 
> >> Sent from my Windows Phone 
> >>  
> >> From: Stuart Whelan 
> >> Sent: 8/7/2012 7:08 PM 
> >> To: jenkins...@googlegroups.com  
> >> Subject: Re: Delete button on build steps not working 
> >> 
> >> Well spotted, I didn't notice that. 
> >> 
> >> No, the delete button does not have the same styling as the rest of the 
> Jenkins UI buttons on the page. 
> >> 
> >> http://imageshack.us/photo/my-images/502/capturetpm.png 
> >> 
> >> On Wed, Aug 8, 2012 at 1:58 PM, Alex Earl 
> >> > 
> wrote: 
> >>> 
> >>> Does the button get the normal look and feel of the Jenkins UI? 
> >>> 
> >>> Sent from my Windows Phone 
> >>>  
> >>> From: Stuart Whelan 
> >>> Sent: 8/7/2012 6:47 PM 
> >>> To: jenkins...@googlegroups.com  
> >>> Subject: Delete button on build steps not working 
> >>> 
> >>> I have a new an installation of Jenkins 1.476 that started life a few 
> days ago at 1.475. The host machine is Windows Server 2008, Jenkins is 
> installed as a service. 
> >>> 
> >>> I am unable to delete build steps in my projects. 
> >>> 
> >>> I have tried in Chrome and IE, and from a browsers running in both the 
> master and on another PC. 
> >>> 
> >>> Watching the Javascript console, I see no errors in the browser logs. 
> There are no errors I can find in the Jenkins logs, but I might be looking 
> in the wrong place(s). 
> >>> 
> >>> In Chrome, if I watch the network activity I can not see any network 
> requests being generated by pressing the delete button. 
> >>> 
> >>> At this stage the only way I can remove a build step is to edit the 
> projects xml file manually and then reload the jenkins config files. 
> >>> 
> >>> Any suggestions on where to go from here? 
> >>> 
> >>> Kind regards, 
> >>> Stuart. 
> >> 
> >> 
>
>
>
> -- 
> Website: http://earl-of-code.com 
>


Re: Project changes sometimes lost in Jenkins LTS 1.466.1?

2012-08-08 Thread Ronald Klop
NB: used chrome and firefox.

On Wed, Aug 8, 2012 at 10:42 AM, Ronald Klop wrote:

> I did not see it. Used Jenkins a lot last couple of days.
>
> On Wed, Aug 8, 2012 at 10:25 AM, David Aldrich  > wrote:
>
>>  Hi
>>
>> ** **
>>
>> Since upgrading from Jenkins LTS 1.447.1 to LTS 1.466.1 a few days ago, I
>> sometimes find that when I edit a project’s configuration and hit the Save
>> button the browser window goes blank, i.e. the dashboard does not
>> reappear.  When I access the dashboard by re-entering the Jenkins url in
>> the browser’s address bar, I find that my changes were lost.
>>
>> ** **
>>
>> Has anyone else seen this behaviour?
>>
>> ** **
>>
>> I am using IE9.
>>
>> ** **
>>
>> Best regards
>>
>> ** **
>>
>> David
>>
>> ** **
>>
>
>
>
> --
> Ronald Klop
> Radial Software Group B.V.
>
> Korenmolenlaan 4
> 3447 GG Woerden
> The Netherlands
> www.radialsg.com
>
> T: +31 88 77 22 111
> F: +31 88 77 22 110
> E: ronald.k...@radialsg.com
>
>


-- 
Ronald Klop
Radial Software Group B.V.

Korenmolenlaan 4
3447 GG Woerden
The Netherlands
www.radialsg.com

T: +31 88 77 22 111
F: +31 88 77 22 110
E: ronald.k...@radialsg.com


Re: Project changes sometimes lost in Jenkins LTS 1.466.1?

2012-08-08 Thread Ronald Klop
I did not see it. Used Jenkins a lot last couple of days.

On Wed, Aug 8, 2012 at 10:25 AM, David Aldrich
wrote:

>  Hi
>
> ** **
>
> Since upgrading from Jenkins LTS 1.447.1 to LTS 1.466.1 a few days ago, I
> sometimes find that when I edit a project’s configuration and hit the Save
> button the browser window goes blank, i.e. the dashboard does not
> reappear.  When I access the dashboard by re-entering the Jenkins url in
> the browser’s address bar, I find that my changes were lost.
>
> ** **
>
> Has anyone else seen this behaviour?
>
> ** **
>
> I am using IE9.
>
> ** **
>
> Best regards
>
> ** **
>
> David
>
> ** **
>



-- 
Ronald Klop
Radial Software Group B.V.

Korenmolenlaan 4
3447 GG Woerden
The Netherlands
www.radialsg.com

T: +31 88 77 22 111
F: +31 88 77 22 110
E: ronald.k...@radialsg.com


Project changes sometimes lost in Jenkins LTS 1.466.1?

2012-08-08 Thread David Aldrich
Hi

Since upgrading from Jenkins LTS 1.447.1 to LTS 1.466.1 a few days ago, I 
sometimes find that when I edit a project's configuration and hit the Save 
button the browser window goes blank, i.e. the dashboard does not reappear.  
When I access the dashboard by re-entering the Jenkins url in the browser's 
address bar, I find that my changes were lost.

Has anyone else seen this behaviour?

I am using IE9.

Best regards

David



Re: mercurial share feature [solved]

2012-08-08 Thread Ronald Klop
On Thu, Aug 2, 2012 at 10:14 AM, Ronald Klop wrote:

> Hi,
>
> I enabled the share feature of the Mercurial plugin. But I don't see how
> it works. Or maybe I don't understand how it works.
> I have a couple of jobs which use the same remote repository. I am under
> the impression that they wil share a local clone of the repository.
> Do I have to do more than check the checkbox in Jenkins? Do I still have
> to enable the share extension of Mercurial somewhere also?
>
> Ronald.
>


I found that the cache and share options need an user defined installation
of Mercurial. The '(default)' installation where 'hg' is guessed from the
PATH does not have extra options, so I was not seeing any change after
checking the cache and share checkboxes.

Ronald.

-- 
Ronald Klop
Radial Software Group B.V.

Korenmolenlaan 4
3447 GG Woerden
The Netherlands
www.radialsg.com

T: +31 88 77 22 111
F: +31 88 77 22 110
E: ronald.k...@radialsg.com