Jenkins always produces 100% health reports

2014-11-10 Thread Mark Sinclair
We have a home-grown test environment and I've recently added Jenkins Junit to produce nice test trend graphs. I am having trouble getting the Junit plugin to give anything other than 100% health. I want the health report to produce bad weather when there are failures. Below is the simple x

Re: Stop the execution if First task is failed even if multiple tasks are added to the project

2014-11-10 Thread Noel Yap
https://stackoverflow.com/questions/26026431/how-to-fast-fail-jenkins-build-flow-plugin-job/26026432#26026432 On Mon Nov 10 2014 at 8:35:18 AM Ginga, Dick wrote: > Having looked at this again, you should be able to do what you want in > the shell script itself. I am not an expert here, so I wil

RE: Stop the execution if First task is failed even if multiple tasks are added to the project

2014-11-10 Thread Ginga, Dick
Having looked at this again, you should be able to do what you want in the shell script itself. I am not an expert here, so I will not attempt a solution. Find the Build Flow Plugin details here: https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin you would create a Jenkins job for ea

Re: Stop the execution if First task is failed even if multiple tasks are added to the project

2014-11-10 Thread Panikera Raj
​Can you provide code snippet or can you explain bit more about how to use and where to specify... Regards, Panikera On Mon, Nov 10, 2014 at 7:08 PM, Ginga, Dick wrote: > You can certainly do it with the Build Flow (DSL) plugin > > > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenki

Re: Display text page inside mail body with Email-ext plugin in Jenkins

2014-11-10 Thread Alex Brodov
I've fixed it by changing the format to html and adding this : ${FILE,path="test2.l"} On Mon, Nov 10, 2014 at 3:44 PM, Daniel Beck wrote: > > On 10.11.2014, at 14:41, Alex Brodov wrote: > > > notepad > > If you mean the horribly broken text editor shipping with Windows, make > sure there's no

Re: OSX Slave Agent Crashing/Closing

2014-11-10 Thread Charles Blessing
Hi rginga, Thanks for the suggestion. It was configured to go to sleep between midnight and 8am (when there were no jobs running). I have changed it to never sleep and will see if that makes any difference. Charles > -- You received this message because you are subscribed to the Google G

RE: OSX Slave Agent Crashing/Closing

2014-11-10 Thread Ginga, Dick
Check the Energy Saver setting. You do not want the MAC to Sleep ever. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Charles Blessing Sent: Monday, November 10, 2014 10:53 AM To: jenkinsci-users@googlegroups.com Subject: OSX Slave Agent Crashing/Clo

Re: Job DSL plugin error with customWorkspace

2014-11-10 Thread Nigel Robbins
Hi, Issue resolved after upgrading to version 1.26 of the Job DSL plugin. Thanks Gareth ! Nigel On Tuesday, November 4, 2014 9:49:28 AM UTC, Nigel Robbins wrote: > > Hi, > > > I have the following in the "DSL Script" section: > > job { > name "test" > customWorkspace("C:\\Jenkins\\w1")

OSX Slave Agent Crashing/Closing

2014-11-10 Thread Charles Blessing
I have a Windows-based master and a single OSX client. Builds are run on the OSX client using the Jenkins slave agent which is launched manually by downloading and running the appropriate jnlp file from the master web server. Once running, builds and notifications progress as expected. Howev

Re: Subversion logger setup

2014-11-10 Thread Daniel Beck
The Jenkins logging isn't set up for a use case like that; use the Subversion server's access log (and filter by Jenkins master and slave IP addresses) instead. If you must use Jenkins, try setting up a log recorder for the following loggers: - hudson.scm.SubversionSCM - hudson.scm.listtagspara

RE: Groovy script to do jenkins configuration

2014-11-10 Thread Rob Mandeville
Sorry, I don’t know how to help you more there. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ankush Aggarwal Sent: Monday, November 10, 2014 9:05 AM To: jenkinsci-users@googlegroups.com Cc: Rob Mandeville Subject: Re: Groovy script to do jen

Re: Jenkins master and slave workspace directory

2014-11-10 Thread kannikanti madhukumar
Hi Geoff, My one hour search for changing workspace issue ended after seeing your post. Really nice post. Thanks, madhu -- 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 a

Re: Groovy script to do jenkins configuration

2014-11-10 Thread Ankush Aggarwal
Hi Rob, I have script to add Maven configuration through groovy script and it is working fine. i need similar kind of script for sonar and artifactory. maven3.groovy import jenkins.* import jenkins.model.* import hudson.* import hudson.model.* a=Jenkins.instance.getExtensionList(hudson.tasks.M

Subversion logger setup

2014-11-10 Thread Jennifer Hofmeister
Hello, I want to set up a logger to examine all attempts Jenkins makes to connect to a Subversion server, successful or not. The jenkins and hudson APIs are huge, but I figured hudson.model.listeners.SCMListener might be a good module to listen to. But the log stays empty, although I set it to

Re: Display text page inside mail body with Email-ext plugin in Jenkins

2014-11-10 Thread Daniel Beck
On 10.11.2014, at 14:41, Alex Brodov wrote: > notepad If you mean the horribly broken text editor shipping with Windows, make sure there's no Unix newline (0x0a) at the line break. There also shouldn't be any other ASCII control characters for that matter. Use a hex editor to determine the e

Display text page inside mail body with Email-ext plugin in Jenkins

2014-11-10 Thread Alex Brodov
I'm attaching a text file to the content of the email that is sent from jenkins, the thing is that the content of this file doesn't appear as it appear in any notepad, i've tried sending the email as plain text and as html but it still displaying the content in a diferent way. For example if

RE: Stop the execution if First task is failed even if multiple tasks are added to the project

2014-11-10 Thread Ginga, Dick
You can certainly do it with the Build Flow (DSL) plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Panikera Raj Sent: Monday, November 10, 2014 8:36 AM To: jenkinsci-users@googlegroups.com Subject: Fwd: Stop the execution if First task is failed

Fwd: Stop the execution if First task is failed even if multiple tasks are added to the project

2014-11-10 Thread Panikera Raj
Hi All, I have a project in Jenkins (as free style project) where I have added multiple tasks as an attachment. As I showed in attachment in first task condition is not satisfied I need to come out from the execution I don't want to execute second task. I can put *exit 1*. But If condition is not

RE: Groovy script to do jenkins configuration

2014-11-10 Thread Rob Mandeville
If you want to configure your Jenkins service via Groovy, you need the Groovy plugin. This allows you to run a “System Groovy Script”. This runs in the same JVM as the server. This gives you the raw capabilities. I don’t know of one particular reference to tell you how to do what you’re tryi

Groovy script to do jenkins configuration

2014-11-10 Thread Ankush Aggarwal
Hi All, I have installed sonar and artifactory plugin in jenkins. I want to do both sonar and artifactory configurations via groovy script. I am able to do using GUI Manage Jenkins -> configure system but need to do similar activity via groovy script. Anyone please help me on this. Thanks, An

Deploy war using jenkins `Deploy to container` Plugin` on tomcat 8

2014-11-10 Thread Harmeet Singh
Hello Members, I am new in jenkins, trying to deploy war file using jenkins `Deploy to container` Plugin, but problem is that, i am using Tomcat version 8 and plugin provide support from Below 8 version. How would i deploy war file using jenkins plugins to tomcat 8? Thanks Harmeet Singh --

Re: Using Coverity plugin

2014-11-10 Thread Shobha Dashottar
Awesome !! This worked. Thanks a lot On Friday, November 7, 2014 6:34:26 PM UTC+5:30, rginga wrote: > > Yup, you need to add P4 to the cov-build blacklist field. The Coverity > pluging wraps everything and it does not like null responses. > > > > *From:* jenkins...@googlegroups.com [mailto: >