Groovy Postbuild testResultAction always null

2016-01-05 Thread foolhunger Hsiao
Hi, all I was trying to use groovy postbuild plugin to get test failure count, and test pass count. But the testResultAction is always null, I have tried this on two Jenkins instances, one with version 1.6+, another 1.5+. The script is simple: def failCnt = manager.build.testResultAction.failC

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Mark Waite
It may be that you're seeing a slightly different variation on MacOS of what I'm seeing on FreeBSD. On FreeBSD, it appears the tests fail due to the Jenkins version on which the git plugin is based. I maintain a working branch (for compatibility testing) on https://github.com/MarkEWaite/git-plugi

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Mark Waite
I use various versions of maven, including Maven 3.2.5, and the latest versions of Oracle Java 7 and Oracle Java 8 on the platforms where I compile and run. I also use OpenJDK 7 and OpenJDK 8 on at least a few of the platforms. I also built and tested on FreeBSD 10.1 using OpenJDK 7. That's the

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Michael Giroux
Mac OS should not matter. Maven is Java, and Java is platform neutral (in theory), but maven version may be of interest. What is your specific build environment? On Tuesday, January 5, 2016 at 6:02:56 PM UTC-7, Mark Waite wrote: > > That's a very strange message. The only reference I could f

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Mark Waite
That's a very strange message. The only reference I could find to that message was a wiki article from 2011. See https://wiki.jenkins-ci.org/display/JENKINS/My+class+is+missing+descriptor in case that gives you any help. I see that you're running on MacOS, and I don't have a MacOS machine in my

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Michael Giroux
I'm running a build now, will attach console output when tests complete. Here is an example of a failure: java.lang.AssertionError: class hudson.plugins.git.util.DefaultBuildChooser is missing its descriptor at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1165) at hudson.plugins.git.

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Mark Waite
I'm interested in the test failures you're seeing, since there are currently no test failures on the Cloudbees execution of the automated tests on the master branch, and there were only three random failures on my execution of the

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Michael Giroux
Before I start making changes, I'm building from master and getting test failures. Is there a document that explains additional environment setup needed to work on plugins? On Tuesday, January 5, 2016 at 12:59:55 PM UTC-7, Mark Waite wrote: > > That is am interesting idea. Giving a semantic me

sauce on demand failing to initialize

2016-01-05 Thread Bryan Pearson
Hello, I am having a problem getting the sauce-ondemand plugin to work. Looking at the logs this is the error I get. I am running Jenkins version 1.643. Any suggestions on what to look at would be helpful. Failed Loading plugin sauce-ondemand java.io.IOException: Failed to initialize at

Re: Config AutoRefresh Plugin

2016-01-05 Thread Baptiste Mathus
Just to be sure: are you talking about refreshing Jenkins pages? Have you clicked on the right on the "Auto refresh" link? 2016-01-05 21:54 GMT+01:00 Eric Naitove : > We have the Config AutoRefresh Plugin > > installed. > Set

Re: Config AutoRefresh Plugin

2016-01-05 Thread Eric Naitove
We have the Config AutoRefresh Plugin installed. Set to 10 seconds. It system never refreshes for anybody. I removed it hoping for the "default" refresh (like on my local computer). Nope. Re-installed the plugin back o

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Michael Giroux
LocalBranch could be empty On Tuesday, January 5, 2016 at 12:59:55 PM UTC-7, Mark Waite wrote: > > That is am interesting idea. Giving a semantic meaning to am empty field > should not alert behavior for non-empty fields. Will you be coding it? > > Mark Waite > > On Tue, Jan 5, 2016, 11:47 AM

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Michael Giroux
Have not contributed in past, but willing to take a cut at it. Off to look at it. As mentioned in a prior post, I've forked the project and ran into a minor issue with builds inside Eclipse. I filed a bug at Eclipse. https://bugs.eclipse.org/bugs/show_bug.cgi?id=485066 Michael On Tuesday, J

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Mark Waite
That is am interesting idea. Giving a semantic meaning to am empty field should not alert behavior for non-empty fields. Will you be coding it? Mark Waite On Tue, Jan 5, 2016, 11:47 AM Michael Giroux wrote: > Mark, > > I think there may be a simple solution that can be implemented in the Git

Config AutoRefresh Plugin

2016-01-05 Thread Victor Martinez
It is worth if you explain in detail your use case and failures Cheers -- 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

Config AutoRefresh Plugin

2016-01-05 Thread Eric Naitove
Does not work on our server. Where can I set this manually ? -- 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. To v

Jenkins Unit Test Configuration - iOS

2016-01-05 Thread john . cebasek
Hi All: We've added Unit tests to our iOS project and want them to run when the build completes. We're having problems trying to run the tests. So we have a Xcode step in our Jenkins configuration. The custom build options are: -destination 'platform=iOS Simulator,name=iPhone 6' test. At the

JUnit plugin disabled?

2016-01-05 Thread Paul Kerchen
Thanks for that link, Victor! After reading that page, I was able to re-enable the plugin by deleting the plugin's .disabled file. -- 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 i

Re: Jenkins Git Plugin and Maven Release Builds

2016-01-05 Thread Michael Giroux
Mark, I think there may be a simple solution that can be implemented in the Git plugin. If the job is configured with additional behavior "checkout to local branch" AND the local branch name is left blank, then the Git plugin could do a checkout of the configured remote branch sans "origin/".

JUnit plugin disabled?

2016-01-05 Thread Victor Martinez
https://wiki.jenkins-ci.org/display/JENKINS/Removing+and+disabling+plugins -- 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...@googlegro

Advanced help for Active Choice plugin

2016-01-05 Thread Matthew Hamilton
I have recently upgraded our Jenkins install to 1.643 and am attempting to make use of the Active Choices plugin to consolidate a few of our jobs into a few multipurpose ones. One of the jobs that I am looking to make some modifications to is our deployment job of build artifacts into JBoss. W

Is there any plug-in that can help me to enter some manual test result.

2016-01-05 Thread Zhou Wei
I want to implement some "checkbox" like items for each build, which can be filled manually by testers, like build #27, Test 1 ☑, Test 2 囗,Test 3 ☑ build #28, Test 1 ☑, Test 2 ☑,Test 3 ☑ build #29, Test 1 ☑, Test 2 ☑,Test 3 囗 Can anyone give me some advice please? Thanks. -- You receive

JUnit plugin disabled?

2016-01-05 Thread Paul Kerchen
Hello, I'm running Jenkins 1.639 under Windows 8. I recently noticed that the JUnit plugin (1.10) is listed as disabled in the Plugin Manager. Furthermore, the system log reports that "Plugin junit.jpi is disabled", so it does seem that it truly is disabled. The check box next to the plugin is a

Re: How to setup default user nad default password for git plugin

2016-01-05 Thread Mark Waite
There is not a way top set default username and password as far as i know. Mark Waite On Mon, Jan 4, 2016, 10:44 PM niraj nandane wrote: > Hi, > > Every time i add new git scm repo, i need to specify which credentials to > use. I want the facility to not provide any credentails for repo and > i

[workflow] Script Security Plugin and CPS

2016-01-05 Thread dannyengineers
Hi, I've been working on a POC with the Workflow Plugin for the last couple of weeks and have seen some behaviors that surprised me. Mainly issues to do with the Script Security plugin and CPS transformations that make it hard to just write a

Re: How to count maven pass tests count, failed test count etc.

2016-01-05 Thread Baptiste Mathus
Seems like a potential candidate for workflow job too. Le 5 janv. 2016 8:29 AM, "Victor Martinez" a écrit : > Hi, > > Off the top of my head I'll suggest the two below options: > > 1) Groovy Post Build > and > Promoted > Plug