Re: issue with Chrome Version 23.0.1271.95

2012-12-05 Thread Kamal Ahmed
i am getting the following in Javascript console when i do a pull down and try 
ot select :

Add Build Step --> execute Shell




http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render
1. POST 
http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render
 404 (Not Found) prototype.js:1585
1. Ajax.Request.Class.create.requestprototype.js:1585
2. Ajax.Request.Class.create.initializeprototype.js:1550
3. (anonymous function)prototype.js:452
4. klassprototype.js:101
5. proxy.(anonymous function)bind.js:27
6. renderOnDemandhudson-behavior.js:505
7. (anonymous function)hetero-list.js:53
8. YAHOO.util.CustomEvent.notifyevent-min.js:7
9. YAHOO.util.CustomEvent.fireevent-min.js:7
10. emenu-min.js:7
11. nevent-min.js:7



>
> From: Alex Earl 
>To: Kamal Ahmed ; "jenkinsci-users@googlegroups.com" 
> 
>Sent: Wednesday, December 5, 2012 9:10 PM
>Subject: RE: issue with Chrome Version 23.0.1271.95
> 
>
>Any errors on the JavaScript console?
>
>Sent from my Windows Phone
>
>
>From: Kamal Ahmed
>Sent: 12/5/2012 6:55 PM
>To: jenkinsci-users@googlegroups.com
>Subject: issue with Chrome Version 23.0.1271.95
>
>
>There seems to be an issue with Chrome Version 23.0.1271.95. Pull Down Menu 
>Items stop working in a project.
>I was not able to create "Execute Shell". I then switched over to Firefox, and 
>the same version of Jenkins  1.492 , works
>Just thought to let you guys know.
>-Kamal.
>
>

Redeploy the old artifacts

2012-12-05 Thread Anba
Dear Friends, 

I'm new to CI and Jenkins. Here i want to deploy the old artifacts into 
servers. For example i have done 10 builds and deploy those build into 
servers. 

Here i want select very 1st build and deploy into server(with old source 
code). Is this possible to achieve . if so could please help me how to do 
this. 

I'm using maven,svn,weblogic for my J2ee project. 

Thanks 
Anba  



RE: issue with Chrome Version 23.0.1271.95

2012-12-05 Thread Alex Earl
Any errors on the JavaScript console?

Sent from my Windows Phone
--
From: Kamal Ahmed
Sent: 12/5/2012 6:55 PM
To: jenkinsci-users@googlegroups.com
Subject: issue with Chrome Version 23.0.1271.95

There seems to be an issue with Chrome Version 23.0.1271.95. Pull Down Menu
Items stop working in a project.
I was not able to create "Execute Shell". I then switched over to Firefox,
and the same version of Jenkins  1.492 , works
Just thought to let you guys know.
-Kamal.


issue with Chrome Version 23.0.1271.95

2012-12-05 Thread Kamal Ahmed
There seems to be an issue with Chrome Version 23.0.1271.95. Pull Down Menu 
Items stop working in a project.
I was not able to create "Execute Shell". I then switched over to Firefox, and 
the same version of Jenkins  1.492 , works
Just thought to let you guys know.
-Kamal.

Re: Jenkins-TFS-MSBuild

2012-12-05 Thread Tan Yeong Sheng
check that the node that you are running the build on has ms sdk v7.1. you
need to update the registry to point to the newer sdk. ms sdk 7.0A just
won't cut
On Dec 6, 2012 4:25 AM, "dmatrix"  wrote:

> Hello, I'm new to Jenkins.
>
> I have MSBuild and TFS server plug-ins installed.  I could run msbuild
> command line and my project is succeeded, but on Jenkins it keeps giving me
> error MSB1008 or MSB1009.  What is the right configuration
> for Jenkins/Build/Build a VS project/MSBuild Build File?
>
> My .sln path in TFS workspace is: c:\Workspace\ProjX\Main\ProjX.sln
>
> and my setting in MSBuild Build File :  $/Main/ProjX.sln   >  This keeps
> giving above errors..
>
> Any thoughts?
>
>


slave setup with VPN connectivity

2012-12-05 Thread Kamal Ahmed
I am trying to setup a slave from home while on VPN. The master is on my laptop 
on the 192.168.x.x. net and i also have 143.123.x.x thru the VPN
but i just cannot seem to connect to the slave via home.

I tried using the ssh approach, but i just get a wheel turning forever and dont 
get any trace to see what is going on.

I have done this in the past, but there must be a proven documented way to 
connect.
Thanks,


Re: Jenkins-TFS-MSBuild

2012-12-05 Thread Slide
Can you post your log output and possibly the pertinent settings for the
msbuild plugin that you have setup?


On Wed, Dec 5, 2012 at 1:25 PM, dmatrix  wrote:

> Hello, I'm new to Jenkins.
>
> I have MSBuild and TFS server plug-ins installed.  I could run msbuild
> command line and my project is succeeded, but on Jenkins it keeps giving me
> error MSB1008 or MSB1009.  What is the right configuration
> for Jenkins/Build/Build a VS project/MSBuild Build File?
>
> My .sln path in TFS workspace is: c:\Workspace\ProjX\Main\ProjX.sln
>
> and my setting in MSBuild Build File :  $/Main/ProjX.sln   >  This keeps
> giving above errors..
>
> Any thoughts?
>
>


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


Jenkins-TFS-MSBuild

2012-12-05 Thread dmatrix
Hello, I'm new to Jenkins.

I have MSBuild and TFS server plug-ins installed.  I could run msbuild 
command line and my project is succeeded, but on Jenkins it keeps giving me 
error MSB1008 or MSB1009.  What is the right configuration
for Jenkins/Build/Build a VS project/MSBuild Build File?

My .sln path in TFS workspace is: c:\Workspace\ProjX\Main\ProjX.sln

and my setting in MSBuild Build File :  $/Main/ProjX.sln   >  This keeps 
giving above errors..

Any thoughts?



Problems with Windows Slaves: hudson.util.IOException2: remote file operation failed

2012-12-05 Thread Joshua Boyd
I am running Jenkins 1.480.1 on a Linux server.  I have an XP slave for 
running browser tests.  The slave is launched by javaws pointed at the 
jnlp URL given in the master in a batch file in the startup folder.


For the last couple of nights, starting sometime between 12:00 and 1:00 
AM until sometime mid to late morning, every run of both jobs that use 
the slaves gives the output pasted at the bottom. Rebooting the slave 
doesn't fix the issue.


The lines that stand out to me the most are "hudson.util.IOException2: 
remote file operation failed:" (and the path referred to in that line 
does exist still), and "Caused by: java.io.InvalidClassException: 
hudson.FilePath; local class incompatible: stream classdesc 
serialVersionUID = 1, local class serialVersionUID = 
-8164662025349363814".  I take that later error as an indication there 
is a version mis-match, but I don't know why that would be since the 
client code is loaded off of the master server.


I could really use some help.

Start of consoleText:

Started by timer
Building remotely on shamus-test in workspace 
c:\shamus\workspace\Chrome_Selenium_bunit
hudson.util.IOException2: remote file operation failed: 
c:\shamus\workspace\Chrome_Selenium_bunit at 
hudson.remoting.Channel@424de67:shamus-test
at hudson.FilePath.act(FilePath.java:838)
at hudson.FilePath.act(FilePath.java:824)
at hudson.FilePath.mkdirs(FilePath.java:890)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1254)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
at hudson.model.Run.execute(Run.java:1502)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: java.io.InvalidClassException: hudson.FilePath; local class 
incompatible: stream classdesc serialVersionUID = 1, local class 
serialVersionUID = -8164662025349363814
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
at hudson.remoting.UserRequest.perform(UserRequest.java:98)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:60)
at java.lang.Thread.run(Unknown Source)
Recording test results
ERROR: Failed to archive test reports
hudson.util.IOException2: remote file operation failed: 
c:\shamus\workspace\Chrome_Selenium_bunit at 
hudson.remoting.Channel@424de67:shamus-test
at hudson.FilePath.act(FilePath.java:838)
at hudson.FilePath.act(FilePath.java:824)
at hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:87)
at 
hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:122)
at 
hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:134)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
at hudson.model.Run.execute(Run.java:1527)
at hudson.model.F

Antwort: Jenkins workflow

2012-12-05 Thread Andreas Schilling
Hello Mary,

welcome to the nice world of Jenkins :-)
Please, for the very, very basics it would probably be a lot better to 
learn them yourself. Else you will be ending up asking a question for 
every single step and this is not what this mailing list is meant for.
A very good resource to start with Jenkins is the following book:
http://www.wakaleo.com/books/jenkins-the-definitive-guide

If later on more specific problems occur I'm sure you'll find help here.

Kind regards,
 
Andreas Schilling
CAE Processes & Data Management
---
Dipl. Inf. Andreas Schilling
Senior Software Architect

TWT GmbH
Science & Innovation
Bernhäuser Str. 40 - 42
73765 Neuhausen
 
Tel: +49 - 7158 - 17 15 - 673
E-Mail: andreas.schill...@twt-gmbh.de

www.twt-gmbh.de

Geschäftsführung: Dimitrios Vartziotis, Joachim Laicher (stv.)
Registergericht: Amtsgericht Stuttgart, HRB Nr. 212778
Umsatzsteuer: ID-Nr.: DE147841145




Von:Mary 
An: jenkinsci-users@googlegroups.com
Datum:  05.12.2012 14:51
Betreff:Jenkins workflow
Gesendet von:   jenkinsci-users@googlegroups.com



Hello,

I am new to Jenkins and I don't understand exactly the job workflow.
Please, help me.

So, I have my project on GitHub and CI server with Jenkins.
What Jenkins will do during the first job execution? What Jenkins will do 
in the next job executions?
Is here a possible way not to clone from GitHub for the first job 
execution but set the local git folder?

Thanks




Re: Has anyone used dr memory plugin on linux

2012-12-05 Thread jes Struck
Hey Sohel,

The first delivery was only intended to work on Windows, which is the
reason for your error.
We deliver sponsored work on our open source projects, and we estimate it
will take around 1 day's work for 1000 euros.
Or you are welcome to contribute your self.

Sincerely Jes



  *Jes Struck*
Consultant
Praqma A/S

Tel:+45 22 71 82 46

Mail: j...@praqma.net

web: www.praqma.net







On 4 December 2012 22:34, Sohel Khan  wrote:

> Hi,
> Has anyone used this plugin successfully on linux to analyse memory leaks?
>
> I get this error, suggesting that it needs the exe for dr memory. I
> downloaded the linux version that has a perl script instead of exe, but no
> information on how and where to configure the plugin for this
>
> Setting log path to /home/sohel/.jenkins/workspace/ArchiveBuildPerf/drmemory/4
> Recieved Unable to execute drmemory.exe -logdir 
> /home/sohel/.jenkins/workspace/ArchiveBuildPerf/drmemory/4 -batch -quiet -- 
> /home/sohel/.jenkins/workspace/ArchiveBuildPerf/"/data/Prod/ArchiveBuildPerf" 
> : bash: drmemory.exe: command not foundMy workspace is 
> /home/sohel/.jenkins/workspace/ArchiveBuildPerf
>
>
> Thanks,
> Sohel
>


Jenkins workflow

2012-12-05 Thread Mary
Hello,

I am new to Jenkins and I don't understand exactly the job workflow.
Please, help me.

So, I have my project on GitHub and CI server with Jenkins.
What Jenkins will do during the first job execution? What Jenkins will do 
in the next job executions?
Is here a possible way not to clone from GitHub for the first job execution 
but set the local git folder?

Thanks




Re: how can I make timed out builds failed rather than aborted?

2012-12-05 Thread Adam PAPAI

Yes, the plugin version 1.10 was/is broken.

So if you upgrade to 1.11 you don't have to hack the xmls.

Fred G wrote:

Hi,

Selecting the check box "Fail the build" which is provided by the Build
Timeout plug-in works for me as expected.
I'm using version 1.11 of the plug-in.

Regards,

Fred

On Wednesday, December 5, 2012 10:41:09 AM UTC+1, Chris Withers wrote:

Hi All,

When using the facility to time builds out if they take too long, how
can I make the end state 'failed' rather than 'aborted'?

Aborted seems to be more of a 'user cancelled, probably nothing to
worry
about' while timing out more often tends to be 'danger danger: someone
checked in code that hangs'...

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk



--
Adam PAPAI
E-mail: w...@wooh.hu
Phone: +3630 3355735
Web: http://www.wooh.hu



Re: how can I make timed out builds failed rather than aborted?

2012-12-05 Thread Fred G
Hi,

Selecting the check box "Fail the build" which is provided by the Build 
Timeout plug-in works for me as expected.
I'm using version 1.11 of the plug-in.

Regards,

Fred

On Wednesday, December 5, 2012 10:41:09 AM UTC+1, Chris Withers wrote:
>
> Hi All, 
>
> When using the facility to time builds out if they take too long, how 
> can I make the end state 'failed' rather than 'aborted'? 
>
> Aborted seems to be more of a 'user cancelled, probably nothing to worry 
> about' while timing out more often tends to be 'danger danger: someone 
> checked in code that hangs'... 
>
> Chris 
>
> -- 
> Simplistix - Content Management, Batch Processing & Python Consulting 
>  - http://www.simplistix.co.uk 
>


Re: how can I make timed out builds failed rather than aborted?

2012-12-05 Thread Adam PAPAI

it's a bug in jenkins.

You can change it via the config.xml and restart the job itself.

I'm configuring the our systems via config.xml.

The related part is:

  
plugin="build-timeout@1.10">

  10
  true
  false
  0
  absolute
  3

  


failBuild has to be set to true so it'll fail the build instead of mark 
it as aborted. (it'll be red instead of gray)



Chris Withers wrote:

Hi All,

When using the facility to time builds out if they take too long, how
can I make the end state 'failed' rather than 'aborted'?

Aborted seems to be more of a 'user cancelled, probably nothing to worry
about' while timing out more often tends to be 'danger danger: someone
checked in code that hangs'...

Chris



--
Adam PAPAI
E-mail: w...@wooh.hu
Phone: +3630 3355735
Web: http://www.wooh.hu



Re: Solved: java.lang.InstantiationError: org.eclipse.jgit.lib.Repository

2012-12-05 Thread Vanuan
Thanks, man! This really helped me.

Re: Matrix-based security workspace access - quick question

2012-12-05 Thread cjo
Why not just archive the artifacts that everyone can access, which are 
then available via the artifacts link,
while the workspace is still locked to those who can access it.

Add this as a post build action.

Chris.


On Tuesday, December 4, 2012 6:05:11 PM UTC, zw wrote:
>
> Hi
>
> We currently are using Matrix-based security to allow users to access 
> workspace.
> However, we have an artifact produced that we like some users to pick up 
> but not have access to the whole workspace as it contains all our source 
> files.
>
> Is there a way using this Matrix-based security to only limit users 
> picking up that one artifact from that workspace directory while 
> restricting their access to other folders ?
>
> Thanks
>


how can I make timed out builds failed rather than aborted?

2012-12-05 Thread Chris Withers

Hi All,

When using the facility to time builds out if they take too long, how 
can I make the end state 'failed' rather than 'aborted'?


Aborted seems to be more of a 'user cancelled, probably nothing to worry 
about' while timing out more often tends to be 'danger danger: someone 
checked in code that hangs'...


Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk