Cobertura Plugin not generating xml file

2013-09-11 Thread Gaurang shah
Hi Guys, 

I was trying to generate the code coverage report through cobertura, 
however I am facing weird problem. 

I am using maven project and on the *cobertura *plugin site they have 
mention that you can directly use the *cobertura:cobertua* goal to generate 
report without modifying the* pom.xml*. I am using the same thing, 

However the problem is it is* generating HTML* reports and *not a XML*file, 
however post action looks for XML file. Has anyone faced this issue 
before, can anyone let me know what's going on ?? 


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins Log4j warning

2013-09-10 Thread Gaurang shah
Hi Mathus,


I did what you suggested, moved *log4j.property* file in *src\test\resources
* folder, however it still shows the warning.

Gaurang Shah

Gaurang Shah
Blog: qtp-help.blogspot.com
Mobile: +91 738756556


On Tue, Sep 10, 2013 at 12:12 PM, Baptiste Mathus bmat...@batmat.netwrote:

 Did you apply what I asked?

  As for your issue, move your log4j.properties file to
 src/test/resources.

 With maven, only source code goes into src/*/java. .properties must be
 inside src/*/resources.
 Le 10 sept. 2013 07:31, Gaurang shah gaurangns...@gmail.com a écrit :

 I don't think it is a maven question, as when i run project thorough maven
 i don't see any warning, however when i run though Jenkins then i see *log4j
 *warning and so many other logs and mention below

 Please guys let me know how to get rid of this warning and logs messages.

 log4j:WARN No appenders could be found for logger 
 (org.apache.commons.beanutils.converters.BooleanConverter).
 log4j:WARN Please initialize the log4j system properly.

 Executing Maven:  -B -f C:\Users\gaurang_shah\workspace\MavenTest\pom.xml 
 checkstyle:checkstyle test

 [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener - 
 Scanning for projects...
 [pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger - 
 Scanning for projects...

 [pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener


 

 


 Gaurang Shah
 Blog: qtp-help.blogspot.com
 Mobile: +91 738756556


 On Mon, Sep 9, 2013 at 1:36 AM, Baptiste Mathus m...@batmat.net wrote:

 Maven question. Please better post on Maven users mailing list next time.

 As for your issue, move your log4j.properties file to src/test/resources.

 Cheers


 2013/9/6 Gaurang shah gaurangns...@gmail.com

  Hi Guy,

 I have configured log4j in my project, however the problem is when i
 run that in jenkins i get following log4j jenkins. have i missed something
 in log4j.properties file or have i misplaced it ??

 I am using maven project.
 *Error Messages*



 log4j:WARN No appenders could be found for logger 
 (org.apache.commons.beanutils.converters.BooleanConverter).

 log4j:WARN Please initialize the log4j system properly.

 *Location of the log4j.properties -  *src\test\java

 *log4j.properties:*
 # Root logger option
 log4j.rootLogger=INFO, stdout

 # Direct log messages to stdout
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.Target=System.out
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
 log4j.appender.stdout.layout.ConversionPattern=%d{-MM-dd HH:mm:ss}
 %-5p %c{1}:%L - %m%n

  --
 You received this message because you are subscribed to the Google
 Groups Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-users+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.

 --
 Baptiste Batmat MATHUS - http://batmat.net
 Sauvez un arbre,
 Mangez un castor ! nbsp;!

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/kYcWTysgIok/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/kYcWTysgIok/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


JNLP Slave on WinXP 64 bit gives error

2013-09-10 Thread Gaurang shah
HI Guys, 

I am running one of the JNLP slave on windows xp 64 bit, however as soon as 
job completes it throws the following stack trace

Can some please let me know what's wrong going on ??

WARNING: Failed to write winp.x64.dll
java.io.FileNotFoundException: 
C:\Users\gaurang_shah\.jenkins\cache\jars\01\winp.x64.dll (The process 
cannot access the f
ile because it is being used by another process)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(Unknown Source)
at java.io.FileOutputStream.init(Unknown Source)
at org.jvnet.winp.Native.load(Native.java:81)
at org.jvnet.winp.Native.clinit(Native.java:52)
at 
org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:200)
at hudson.util.ProcessTree$Windows.clinit(ProcessTree.java:477)
at hudson.util.ProcessTree.get(ProcessTree.java:336)
at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:899)
at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:890)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
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:63)
at java.lang.Thread.run(Unknown Source)







-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins Log4j warning

2013-09-09 Thread Gaurang shah
I don't think it is a maven question, as when i run project thorough maven
i don't see any warning, however when i run though Jenkins then i see *log4j
*warning and so many other logs and mention below

Please guys let me know how to get rid of this warning and logs messages.

log4j:WARN No appenders could be found for logger
(org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.

Executing Maven:  -B -f
C:\Users\gaurang_shah\workspace\MavenTest\pom.xml
checkstyle:checkstyle test

[pool-1-thread-1] INFO
hudson.maven.Maven3Builder$MavenExecutionListener - Scanning for
projects...
[pool-1-thread-1] INFO org.apache.maven.cli.event.ExecutionEventLogger
- Scanning for projects...

[pool-1-thread-1] INFO hudson.maven.Maven3Builder$MavenExecutionListener






Gaurang Shah
Blog: qtp-help.blogspot.com
Mobile: +91 738756556


On Mon, Sep 9, 2013 at 1:36 AM, Baptiste Mathus m...@batmat.net wrote:

 Maven question. Please better post on Maven users mailing list next time.

 As for your issue, move your log4j.properties file to src/test/resources.

 Cheers


 2013/9/6 Gaurang shah gaurangns...@gmail.com

 Hi Guy,

 I have configured log4j in my project, however the problem is when i run
 that in jenkins i get following log4j jenkins. have i missed something in
 log4j.properties file or have i misplaced it ??

 I am using maven project.
 *Error Messages*


 log4j:WARN No appenders could be found for logger 
 (org.apache.commons.beanutils.converters.BooleanConverter).

 log4j:WARN Please initialize the log4j system properly.

 *Location of the log4j.properties -  *src\test\java

 *log4j.properties:*
 # Root logger option
 log4j.rootLogger=INFO, stdout

 # Direct log messages to stdout
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.Target=System.out
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
 log4j.appender.stdout.layout.ConversionPattern=%d{-MM-dd HH:mm:ss}
 %-5p %c{1}:%L - %m%n

  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.

 --
 Baptiste Batmat MATHUS - http://batmat.net
 Sauvez un arbre,
 Mangez un castor ! nbsp;!

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/kYcWTysgIok/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Redirect stdout to surefire reports

2013-09-06 Thread Gaurang shah
Hi Guys, 

In the surefire reports on jenkins when a test case fails it shows both 
stacktrace and stdout. Is there any way it shows stdout even when test case 
passes. 


Gaurang Shah

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins Log4j warning

2013-09-06 Thread Gaurang shah
Hi Guy, 

I have configured log4j in my project, however the problem is when i run 
that in jenkins i get following log4j jenkins. have i missed something in 
log4j.properties file or have i misplaced it ??

I am using maven project. 
*Error Messages*

log4j:WARN No appenders could be found for logger 
(org.apache.commons.beanutils.converters.BooleanConverter).

log4j:WARN Please initialize the log4j system properly.

*Location of the log4j.properties -  *src\test\java

*log4j.properties:*
# Root logger option
log4j.rootLogger=INFO, stdout
 
# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{-MM-dd HH:mm:ss} %-5p 
%c{1}:%L - %m%n

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Run Job on Remote Slave node

2013-09-05 Thread Gaurang shah
Hi Guys, 

I have an automation project on the Jenkins in which I want job run on 
Remote Slave Node, However it looks like when I bind my project with remote 
slave, it builds project on that slave as well. 

In my Jenkins I have specified JDK and Maven Path locally rather then to 
install it from internet. 

However the when i run the Job on remote node it tries to find the JDK and 
Maven in same directory, which is creating problem. Is there any way I can 
use the JDK and Maven installed on Jenkins Host machine to build the job 
but it run on remote node ??

Gaurang Shah

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Run Job on Remote Slave node

2013-09-05 Thread Gaurang shah
Is there any other way apart from this. ??

If i go and change the Maven and JDK setting to download from the internet 
it works fine.

Is there any other thing i need to know about how Jenkins run program on 
slave node, one thing i came to know is it build project on slave node as 
well before running it. 

Gaurang SHah


On Thursday, 5 September 2013 19:24:19 UTC+5:30, Jes Struck wrote:


 Hello Gaurang,

 it would be a good ide to consider to split it into two jobs one for 
 building and one for the running of the program, you can easely share 
 reslult between job's either with an artifact manegement system like 
 artifactory or similar.

 Or you can use the archive function in jenkins that can actually also copy 
 between jobs.

 If you run into any problems just get back and ill bee happy to help ;)


 2013/9/5 Gaurang shah gauran...@gmail.com javascript:

 Hi Guys, 

 I have an automation project on the Jenkins in which I want job run on 
 Remote Slave Node, However it looks like when I bind my project with remote 
 slave, it builds project on that slave as well. 

 In my Jenkins I have specified JDK and Maven Path locally rather then to 
 install it from internet. 

 However the when i run the Job on remote node it tries to find the JDK 
 and Maven in same directory, which is creating problem. Is there any way I 
 can use the JDK and Maven installed on Jenkins Host machine to build the 
 job but it run on remote node ??

 Gaurang Shah

 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 

 [image: 
 ]http://www.praqma.net/
  *Jes Struck, *
 Consultant
 j...@praqma.net javascript:
 +45 31 42 09 00
 Skype:jes.struck *Praqma A/S*
 www.praqma.net
 Allerød Stationsvej 4
 DK-3450 Allerød
 +45 36 77 27 62 http://www.praqma.net/jciusrcph12 
 http://www.praqma.net/jcicodecamp12

 

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Plugin require for BTS

2013-09-05 Thread Gaurang shah
Hi Guys, 

I have my automation project configured on the Jenkins, Now everytime a 
test case fails management is interested in knowing the reason. 

Is it a bug in automation ? 
is it a product bug ?
is it a timing or network issue ? 

In all the above case if necessary bug Id. 

is there any plugin avaible which serves this puprose

I want something like below 

https://lh3.googleusercontent.com/-rG6012H9PNU/UilcieNsjwI/CCQ/BQgysS69e5Q/s1600/Jenkins_Plugin_Require.jpg



-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Run Maven Job on multiple nodes

2013-09-04 Thread Gaurang shah
Hi Guys, 

Is there any way I can run one *maven *job on* multiple nodes parallel.*  ??
I didn't find anything so I create new job *multi-configuration project, 
*however 
facing few question about that, would be glad if someone can explain things

I have created two nodes and in the job i have specify it to run on both 
the nodes.  As this is a maven project to run I am *invoking top level 
maven target. *The problem is it's not able to find the pom.xml inside the 
location i have specified.

I have specified my *custom workspace* as *C:\Users\gaurang_shah\workspace. 
*
And *pom.xml* path as *maventest\pom.xml *(maventest is inside custom 
workspace i specified) 

However when i run the project it tries to find out the pom.xml in 
following folder, LocalSlave_1 and LocalSlave_2 are two nodes i am running 
this job on. 

C:\Users\gaurang_shah\workspace\label\LocalSlave_1

C:\Users\gaurang_shah\workspace\label\LocalSlave_2


If I change the *pom.xml* path to *..\..\**maventest\pom.xm *it works fine, 
however the question is 


   1. Why it tries to search the pom.xml in different path than what i have 
mention ??
   2. Is there any way to run maven project on different nodes without creating 
new multi-congiuration job ? 


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins Distributed Environment Setup

2013-09-02 Thread Gaurang shah
Hi Guys, 

Is there any wiki page or blog post where set up of Jenkins Distributed 
Environment is explained in details. Things like 

   - How to run one  build on multiple nodes for load balancing 
   - How to run same job parallel in same node 
   - How to run same build on multiple nodes 

Gaurang Shah 

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins Shows Empty Reports for CheckStyle Plugin

2013-08-30 Thread Gaurang shah
Hi Hafner,

Thanks for the help, I change remove the* build pre-step* and changed the
build goal and now it's working.

I got the reports.

While i was doing configuration I came across one post where they mention
that you need to configure *checkstyle:checkstyle* as *pre-build step.*
 Might be it was for old *Jenkins *or old *Checkstyle *plugin.

thanks for the help again.

Gaurang Shah
Blog: qtp-help.blogspot.com
Mobile: +91 738756556


On Fri, Aug 30, 2013 at 11:51 AM, Ullrich Hafner
ullrich.haf...@gmail.comwrote:

 But why are you running CheckStyle as pre step?

 Please use goals checkstyle:checkstyle test as build goals.

 Am Freitag, 30. August 2013 schrieb Gaurang shah :

 Hi Guys,

 Following is my configuration, let me know if anything is wrong.

 I am not able to see any [CHECKSTYLE] message in the logs.

 [image: Inline image 1]



 Gaurang Shah
 Blog: qtp-help.blogspot.com
 Mobile: +91 738756556


 On Fri, Aug 30, 2013 at 1:33 AM, Ullrich Hafner ullrich.haf...@gmail.com
  wrote:

 Why are you running CheckStyle as pre step? Can you retry as Build step?
 Is there a [CHECKSTYLE] Message in the Log?

 Am Donnerstag, 29. August 2013 schrieb Gaurang shah :


 Hi Guys,

 I am trying to configure *checkstyle *plugin for few days, however
 facing a problem.

 I have *Pre-Steps *I am invoking following Maven Goal,
 *checkstyle:checkstyle*

 And I have configured Checkstyle reports on dashboard as well.

 When i see the console it shows the following line, which mean it is
 genereting the reports.

 [INFO] There are 103 checkstyle errors.

  However after completion I am not able to see any statistics or graphs
 in dashboard i have configured.

 Would someone please let me know what could have been wrong ??

 Gaurang Shah

  --
 You received this message because you are subscribed to the Google
 Groups Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-users+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/5ufqPp--qVc/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/5ufqPp--qVc/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
image.png

Change user password

2013-08-30 Thread Gaurang shah
Hi Guys, 

I just configured *Project-based Matrix Authorization Strategy, *crated few 
user and assign them some right. 
*
*
However i didn't find anywhere how to change the password for that user. 

I mean to say, I am going to pass this credential to individual user, but 
what if they want to change their password. 


Gaurang Shah

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Change user password

2013-08-30 Thread Gaurang shah
oh..

Don't know how i missed it..

thanks for the quick reply.

Gaurang Shah
Blog: qtp-help.blogspot.com
Mobile: +91 738756556


On Fri, Aug 30, 2013 at 7:02 PM, Mandeville, Rob rmandevi...@litle.comwrote:

  The password is just another user setting.  The user can change their
 password by selecting their name (next to the “log out” button on the top
 right), then “Configure”.

 ** **

 --Rob

 ** **

 *From:* jenkinsci-users@googlegroups.com [mailto:
 jenkinsci-users@googlegroups.com] *On Behalf Of *Gaurang shah
 *Sent:* Friday, August 30, 2013 9:05 AM
 *To:* jenkinsci-users@googlegroups.com
 *Subject:* Change user password

 ** **

 Hi Guys, 

 ** **

 I just configured *Project-based Matrix Authorization Strategy, *crated
 few user and assign them some right. 

 ** **

 However i didn't find anywhere how to change the password for that user. *
 ***

 ** **

 I mean to say, I am going to pass this credential to individual user, but
 what if they want to change their password.


 Gaurang Shah

 --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.

  The information in this message is for the intended recipient(s) only
 and may be the proprietary and/or confidential property of Litle  Co.,
 LLC, and thus protected from disclosure. If you are not the intended
 recipient(s), or an employee or agent responsible for delivering this
 message to the intended recipient, you are hereby notified that any use,
 dissemination, distribution or copying of this communication is prohibited.
 If you have received this communication in error, please notify Litle  Co.
 immediately by replying to this message and then promptly deleting it and
 your reply permanently from your computer.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/5PiciJwVohU/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins Surefire Cross Reference Source code

2013-08-29 Thread Gaurang shah
Hi Guys, 

Is there any way I can cross reference source code in Surefire plugin of 
Jenkins. 

I got this example on the internet, however this only cross reference 
source code while generating html reports, i want source code cross 
reference in the surefire reports which jenkins shows after test 
completion. 

reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jxr-plugin/artifactId
version2.3/version
/plugin
/plugins/reporting

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins with Webdriver falil to launch browser

2013-08-29 Thread Gaurang shah
Thanks Roger, 

For the update, however i figure out what was wrong. 

Earlier i was starting Jenkins from the war file and everything was working 
fine.  however after I install it as windows services it stopped working. 

After searching i realize that i require node to be created where i want my 
test case to run.  So i create JNLP node and now it works. 

However it would be really nice, if someone would explain me why i require 
JNLP node when i have started jenkins as windows services as i didn't 
require it when it was started as WAR file. 

Gaurang Shah

On Wednesday, 28 August 2013 02:28:59 UTC+5:30, JonathanRRogers wrote:



 On Monday, August 26, 2013 5:32:08 AM UTC-4, Gaurang shah wrote:

 Hi Guys, 

 I have configured my maven project with jenkins. This maven project is a 
 webdriver automation project. 

 Project works find when i run from the command line, it launches the 
 browser 
 and then shows that test case has passed. 

 However when i run the same project thorough jenkins it is not launching 
 any 
 browser, however test result says that test case passed.  Without any 
 stack 
 trace or error I am not able to debug it either. Can someone let me know 
 what could have been wrong. 

 I am getting following output when I run though jenkins. 
 --- 
  T E S T S 
 --- 
 Running TestSuite 
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.356 
 sec 

 Results : 

 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 

 [JENKINS] Recording test results 
 [JENKINS] Archiving C:\Users\gaurang_shah\workspace\MavenTest\pom.xml to 
 C:\Users\gaurang_shah\.jenkins\jobs\TestNGMavenDemo\modules\gaurang$MavenTest\builds\2013-08-26_14-51-48\archive\gaurang\MavenTest\0.0.1-SNAPSHOT\MavenTest-0.0.1-SNAPSHOT.pom
  

 [INFO] 
  
 [INFO] BUILD SUCCESSFUL 
 [INFO] 
  
 [INFO] Total time: 44 seconds 
 [INFO] Finished at: Mon Aug 26 14:52:40 IST 2013 
 [INFO] Final Memory: 17M/42M 
 [INFO] 
  
 Waiting for Jenkins to finish collecting data 
 Finished: SUCCESS 


  There may be something missing from the environment when running from 
 Jenkins that keeps the browser from starting. For example, in my setup, I 
 have to make sure a headless X11 server is running and the Jenkins job has 
 a DISPLAY variable set which points to the server. It looks like your job 
 is running on Windows so I don't know what issues it might be specifically. 
 Maybe the Jenkins process doesn't have permission to access the desktop or 
 something?


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins Shows Empty Reports for CheckStyle Plugin

2013-08-29 Thread Gaurang shah

Hi Guys, 

I am trying to configure *checkstyle *plugin for few days, however facing a 
problem.

I have *Pre-Steps *I am invoking following Maven Goal, 
*checkstyle:checkstyle*

And I have configured Checkstyle reports on dashboard as well. 

When i see the console it shows the following line, which mean it is 
genereting the reports. 

[INFO] There are 103 checkstyle errors.

 However after completion I am not able to see any statistics or graphs in 
dashboard i have configured. 

Would someone please let me know what could have been wrong ?? 

Gaurang Shah

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins Shows Empty Reports for CheckStyle Plugin

2013-08-29 Thread Gaurang shah
Hi Guys,

Following is my configuration, let me know if anything is wrong.

I am not able to see any [CHECKSTYLE] message in the logs.

[image: Inline image 1]



Gaurang Shah
Blog: qtp-help.blogspot.com
Mobile: +91 738756556


On Fri, Aug 30, 2013 at 1:33 AM, Ullrich Hafner ullrich.haf...@gmail.comwrote:

 Why are you running CheckStyle as pre step? Can you retry as Build step?
 Is there a [CHECKSTYLE] Message in the Log?

 Am Donnerstag, 29. August 2013 schrieb Gaurang shah :


 Hi Guys,

 I am trying to configure *checkstyle *plugin for few days, however
 facing a problem.

 I have *Pre-Steps *I am invoking following Maven Goal,
 *checkstyle:checkstyle*

 And I have configured Checkstyle reports on dashboard as well.

 When i see the console it shows the following line, which mean it is
 genereting the reports.

 [INFO] There are 103 checkstyle errors.

  However after completion I am not able to see any statistics or graphs
 in dashboard i have configured.

 Would someone please let me know what could have been wrong ??

 Gaurang Shah

  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/5ufqPp--qVc/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
image.png

Public Checkstyle report not available in maven project

2013-08-27 Thread Gaurang shah
Hi Guys, 

I am trying to configure CheckStyle plugin, however I am not able find any 
action to public the checkstyle report in Post-Build Actions. 

Do i have to do anything special to enable it ?? 


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins not able to find checkstyle plugin

2013-08-27 Thread Gaurang shah


Hi Guys, 

I have maven project in which I am using CheckStyle plugin. It works fine when 
i run it from command line, it generates the checkstyle xml report. 

However when i run it from Jenkins it shows following error. 
The plugin 'org.apache.maven.plugins:maven-checkstyle-plugin' does not exist or 
no valid version could be found

I am not able to figure out why it is showing this error, as this plugin is 
present under installed plugins. 
Following is the config file I am using.
 
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-checkstyle-plugin/artifactId
version2.10/version
configuration
sourceDirectorysrc/sourceDirectory
/configuration
/plugin  

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins with Webdriver falil to launch browser

2013-08-26 Thread Gaurang shah
Hi Guys, 

I have configured my maven project with jenkins. This maven project is a 
webdriver automation project. 

Project works find when i run from the command line, it launches the 
browser and then shows that test case has passed. 

However when i run the same project thorough jenkins it is not launching 
any browser, however test result says that test case passed.  Without any 
stack trace or error I am not able to debug it either. Can someone let me 
know what could have been wrong. 

I am getting following output when I run though jenkins. 
--- 
 T E S T S 
--- 
Running TestSuite 
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.356 sec 

Results : 

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 

[JENKINS] Recording test results 
[JENKINS] Archiving C:\Users\gaurang_shah\workspace\MavenTest\pom.xml to 
C:\Users\gaurang_shah\.jenkins\jobs\TestNGMavenDemo\modules\gaurang$MavenTest\builds\2013-08-26_14-51-48\archive\gaurang\MavenTest\0.0.1-SNAPSHOT\MavenTest-0.0.1-SNAPSHOT.pom
 
[INFO] 
 
[INFO] BUILD SUCCESSFUL 
[INFO] 
 
[INFO] Total time: 44 seconds 
[INFO] Finished at: Mon Aug 26 14:52:40 IST 2013 
[INFO] Final Memory: 17M/42M 
[INFO] 
 
Waiting for Jenkins to finish collecting data 
Finished: SUCCESS

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


test doesn't fail on exception

2013-07-22 Thread Gaurang shah
Hi Guys, 

I have configured jenkins with pytest and webdriver. It's running and 
launching test fine however the only problem is test doesn't fail even 
though it has encountered an exception. 

is there any setting or plugin require for that. 


Gaurang shah

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Access Jenkins Parameter in job

2013-07-22 Thread Gaurang shah
Hi Guys, 

Is there any way i can access the jenkins parameter inside the job. ? 

Gaurang Shah

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Pytest stdout on jekins report

2013-07-13 Thread Gaurang shah
Hi Guys, 

Hi Guys, I using pytest plugin for unit testing python. however when i use 
the following command all the standard out is visible in jenkins console. 
is there any way I can redirect standard out to jenkins report ? 


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.