Run Groovy script only on Matrix parent

2015-03-18 Thread Sverre Moe
The groovy script executed by Groovy Postbuild does not run on Matrix parent if this Post build publisher comes from a template project. There is an issue for this: https://issues.jenkins-ci.org/browse/JENKINS-27317 I order for the script to run on my several hundred jobs I would have to

Re: How to prevent saving project's configuration if there are configuration failures?

2015-03-18 Thread Ulli Hafner
Am 18.03.2015 um 06:24 schrieb Christopher Orr ch...@orr.me.uk: You can always create a job config programmatically, write config.xml directly to disk, or upload config via the CLI. So basically there's no way of preventing bad config from being entered — plugins should make a

Re: 2 @Extension annotations in a plugin

2015-03-18 Thread oliver gondža
On Wed, 18 Mar 2015 12:08:37 +0100, Bruno bruno.mart...@liebherr.com wrote: But I still have the @Extension in my Publisher class. How does it work altogether ? I thought that the @Extension was kind of the door for Jenkins to enter the plugin. @Extension is just an annotation Jenkins

Re: Plugin Hosting Request

2015-03-18 Thread Ulli Hafner
Created: https://github.com/jenkinsci/codecover-plugin Welcome aboard! Ulli Am 17.03.2015 um 18:26 schrieb Jasmine Brown jmbrown...@gmail.com: your GitHub plugin name: Karma-Jenkins-Plugin your personal GitHub ID: jmbrown864 The existing GitHub repository to fork:

2 @Extension annotations in a plugin

2015-03-18 Thread Bruno
Hello everyone, With time and pain I did manage to create a bunch of plugins that do exactly what I wanted. But the thing is I've not always understood what I was doing. And I would like to know more about it. My plugins all add a post-build action to perform some computation, and then

Re: Run Groovy script only on Matrix parent

2015-03-18 Thread Sverre Moe
I came by an immediate fix: Using this Groovy Postbuild script on all my jobs import hudson.matrix.MatrixBuild; import hudson.matrix.MatrixRun; if (manager.buildIsA(MatrixBuild.class)) { evaluate(new File(build-downstream-projects.groovy)) } A little bit duplication, but the main logic

Re: How does Jenkins test harness run the tests?

2015-03-18 Thread Jesse Glick
On Tue, Mar 17, 2015 at 11:52 AM, Kirill yam...@gmail.com wrote: I changed @ClassRule to @Rule and it works fine! I added a tip to https://wiki.jenkins-ci.org/display/JENKINS/Unit+Test for the next person. -- You received this message because you are subscribed to the Google Groups Jenkins

Re: How to prevent saving project's configuration if there are configuration failures?

2015-03-18 Thread Jesse Glick
On Tue, Mar 17, 2015 at 6:36 PM, Ulli Hafner ullrich.haf...@gmail.com wrote: I don’t think that this is possible. Correct: https://issues.jenkins-ci.org/browse/JENKINS-19584 -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe

Re: build-pipeline-plugin pull request review

2015-03-18 Thread Kanstantsin Shautsou
As result we (patbos and me): - released two versions with 3 fixes. - fixed selenium tests and added a test case for one reverted commit that broke master (it can be reopened for better review). - added changelog (that absent before) to wiki page. I very hope that real maintainers will appear,

Re: New Plugin hosting request: AWS Lambda Jenkins plugin

2015-03-18 Thread nicolas de loof
https://github.com/jenkinsci/aws-lambda-plugin 2015-03-18 18:16 GMT+01:00 Kanstantsin Shautsou kanstantsin@gmail.com: I don't remember on what wiki page it was, but afair using word 'jenkins' for jenkins plugins is not good. Please wait while somebody process your request. On Wednesday,

Re: New Plugin hosting request: AWS Lambda Jenkins plugin

2015-03-18 Thread Daniel Beck
And the artifactId should probably be changed to aws-lambda before the first release. On 18.03.2015, at 18:19, nicolas de loof nicolas.del...@gmail.com wrote: https://github.com/jenkinsci/aws-lambda-plugin 2015-03-18 18:16 GMT+01:00 Kanstantsin Shautsou kanstantsin@gmail.com: I don't

Re: Plugin hosting request: UI Test Capture

2015-03-18 Thread Victor Bathke
Hi Ullrich! No, it is not related. Any tool can generate the pattern required by the plugin and it will show the results while they happen during the build. To do it, tests must write some informations in JSON format in one file called teststream.txt. The results also can be stored with a

Website creation issue with Jenkins MSBuild

2015-03-18 Thread Praveen Ravula
I am publishing and deploying the .net web application using jenkins MSbuild plugin.Everey thing is working fine except one issue. Here the issue is not able to find the created website in IIS. Missing the site *http://localhost/enhancement* http://localhost/enhancement in iis. Please find the