Re: Pipeline conversion of MSTest to JUnit using XUnit

2017-05-18 Thread JonathanRRogers
I use the junit plugin because it has features xunit doesn't, such as the ability to handle attachments. Despite the name, junit is useful for more than just Java code and can generate reports from any compliant XML files. I use it with files generated by the Python py.test framework. The junit

Re: jenkins plugin in groovy, python or some other scripting language

2017-05-18 Thread James Nord
Damn auto-correct On 18 May 2017 9:13 pm, Slide wrote:Developers list that is :-)On Thu, May 18, 2017 at 11:54 AM James Nord wrote:Yes, but for the love of God please no! Ask on the device list. On 18 May 2017 9:37 am, Jeeva Chelladhurai

Re: parallel and splitTests questions

2017-05-18 Thread James Nord
See https://issues.jenkins-ci.org/browse/JENKINS-44085 and the workaround in the comments. That is if you want to limit per run of a job. If you want to limit across runs of a job or across multiple jobs then look at lockable resources plugin. On 18 May 2017 10:12 pm, Tim

parallel and splitTests questions

2017-05-18 Thread Tim
all of the examples of splitTests that I have seen are always using a JUnit or some other XML representation of the tests to determine what to split on. I have (what I thought) was a very simple use case, but I am finding it difficult to express to jenkins how to do it. I want to run in parallel

Re: Failed to parse changelogN.xml error when starting pipeline jobs

2017-05-18 Thread Adam Paul
Hihi, For anyone searching for this later, this is: https://issues.jenkins-ci.org/browse/JENKINS-43176 and a workaround is to put sleeps of different durations in each branch before the SCM step(s) so the parallel branches are not executing SCM steps at the same time. Rgds, Adam On

One Jenkinsfile per repo in multi-branch workflows?

2017-05-18 Thread Yotam Shapira
There seems to be some work done in this regard, but it seems to be lagging, so I can't tell if it's going to stay this way or not. https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-34561 -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: jenkins plugin in groovy, python or some other scripting language

2017-05-18 Thread Slide
Developers list that is :-) On Thu, May 18, 2017 at 11:54 AM James Nord wrote: > Yes, but for the love of God please no! > > Ask on the device list. > > On 18 May 2017 9:37 am, Jeeva Chelladhurai wrote: > > Oops! posted by mistake.. let me rephrase my

Re: jenkins plugin in groovy, python or some other scripting language

2017-05-18 Thread James Nord
Yes, but for the love of God please no! Ask on the device list. On 18 May 2017 9:37 am, Jeeva Chelladhurai wrote:Oops! posted by mistake.. let me rephrase my questionIs it possible to write Jenkins plugin in groovy, python or some other scripting language? Many devops engineers

Re: Intermittent 504s when browser is accessing ajaxBuildQueue and ajaxExecutors endpoints

2017-05-18 Thread James Nord
This could be a number of things without any data to correlate1. Garbage collection performing stop the world collection (Google 'Sam van oort jenkins garbage collection cloudbees')2. Not enough http handlers in jenkins and someone is making http requests that are not quick so you exhaust the

Re: How to specify recipients in email-ext step in declarative script?

2017-05-18 Thread Slide
Then it's possible that it's the way culprits are determined for each job type. Free style inherits from AbstractProject, so the build has a getCulprits() that email-ext can call. It has to determine culprits on its own for pipeline jobs and it may not have all the info that a free style project

Re: Role strategy plugin: how to give specific access

2017-05-18 Thread Artur Szostak
I believe you need to install "Extended Read Permission Plugin" to add an additional cell to the permission table. Then you can select/check the "ExtendedRead" option rather than the "Configure" option to give read only access to the job's configuration.

Role strategy plugin: how to give specific access

2017-05-18 Thread Alex Domoradov
Hello, we have been using role strategy plugin for a few years. And it works fine. But now we need to give specific access to specific users. We need that people will be able to view configuration of a job but at the same time they won't be able to change the configuration itself. Is it

Multiple users creating and managing their own jobs.

2017-05-18 Thread Artur Szostak
Hello, Using the Role-based Access Control plugin, how should I configure Jenkins to allow for the following use case: I have users U1 .. Un where n is some large number. I want to allow each user to be able to create, configure and delete her/his own jobs, but I do not want them to be able to

One Jenkinsfile per repo in multi-branch workflows?

2017-05-18 Thread David Aldrich
Hi As the free-style Multi-Branch Project plugin is deprecated, I am experimenting with the Multibranch Pipeline job type. With the Multi-Branch Project plugin it was possible to have multiple multi-branch jobs. We took advantage of that and had multiple jobs to build different executables

RE: How to specify recipients in email-ext step in declarative script?

2017-05-18 Thread David Aldrich
Well I haven’t found definitions of the providers so I can’t be sure, but the free-style job specifies: Fixed: Recipient List, Culprits and the Project Recipient List contains daldrich So, yes, I think they are equivalent. BR David From: jenkinsci-users@googlegroups.com

Re: How to specify recipients in email-ext step in declarative script?

2017-05-18 Thread Slide
Do you have the same recipient providers specified for the pipeline as you do in your normal (free style) job? On Thu, May 18, 2017 at 2:33 AM David Aldrich wrote: > Hi Slide > > > > Thanks for helping me with this. I am using a declarative pipeline. In > the ‘post’

Missing Jobs drop down list following Upgrade

2017-05-18 Thread David Beange
On our windows box i've upgraded Jenkins frin 1.6.39 to 2.46 by replacing the WAR file. However after the upgrade I am unable to get the context menu from all my jobs on the dashboard ALL jobs view. (sample image attached) All jobs are on the ALL view in the dashboard where i can get the menu

Re: Using a docker image in a declarative pipeline

2017-05-18 Thread Matt Stave
I think script {} is the answer... On Friday, May 5, 2017 at 3:36:41 PM UTC-5, Guy Knights wrote: > > I've been playing around with the declarative pipeline syntax and I'm > having trouble running a docker container to do some processing. To > clarify, I *don't* want to run my entire pipeline

Sharing common declarative pipeline parameters

2017-05-18 Thread Matt Stave
It seems you can use Library in a declarative pipeline file to do stuff like mySpecialPipeline { someString = 'foo' } and have pipeline { ... ...echo config.someString } in vars/mySpecialPipeline.groovy and you can reference vars/myCustomStep.groovy but is it possible to share job

RE: SVN post-commit notify for parameterized job

2017-05-18 Thread Jennifer Hofmeister
So you want to use the same job with different triggering mechanisms, and keep your parameterized URL. I’m not familiar with Subversion hooks, but if the @ character is what breaks its URL recognition, maybe you can include it in the parameter value… so that your Jenkins parameter “revision” is

RE: How to specify recipients in email-ext step in declarative script?

2017-05-18 Thread David Aldrich
Hi Slide Thanks for helping me with this. I am using a declarative pipeline. In the ‘post’ clause, I set ‘success’, ‘failure’, ‘unstable’ and ‘changed’ to all be: script{ emailext (body: '${DEFAULT_CONTENT}', recipientProviders: [[$class:

RE: BitBucket Plugin for Jenkins doesn't fire release pipeline job likely because release pipeline script not in SCM, how to trick it?

2017-05-18 Thread Jennifer Hofmeister
This may be a bit late, but in case anyone else has a similar issue, I can offer some experience with “Webhook to Jenkins for Bitbucket”, which may be the one you’re referring to. I can’t find a plugin named “Bitbucket plugin for Jenkins” in the plugin store. So what the Jenkins Webhook plugin

Re: jenkins plugin in groovy, python or some other scripting language

2017-05-18 Thread Jeeva Chelladhurai
Oops! posted by mistake.. let me rephrase my question Is it possible to write Jenkins plugin in groovy, python or some other scripting language? Many devops engineers are not familiar with java... Thanks, Jeeva -- You received this message because you are subscribed to the Google Groups

jenkins plugin in groovy, python or some other scripting language

2017-05-18 Thread Jeeva Chelladhurai
Hello All, Is it possible to write Jenkins plugin in groovy, python or some other scripting language? Most of the de -- 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

Jankins <> CKAN (open data)

2017-05-18 Thread Ladislav Nešněra
Hi, Is there someone who use Jenkins to create (or get) dataset entries in CKAN ? ;? -- 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

Re: Access M2 Release Plugin release permission through groovy

2017-05-18 Thread Tina Danielsson
You are my hero James! It worked :) import hudson.security.* import org.jvnet.hudson.plugins.m2release.* def job = Hudson.instance.items.find{job -> job.name == "MyJob"} def authorizationMatrixProperty = job.getProperty(AuthorizationMatrixProperty.class)

Intermittent 504s when browser is accessing ajaxBuildQueue and ajaxExecutors endpoints

2017-05-18 Thread Prasad Velidi
Hello, Recently we have been seeing 504 errors on the ELB status logs (AWS) for Jenkins. When investigated, we came to know that, to keep the page on browser in sync with latest information, the browser keeps on polling data using ajaxBuildQueue and ajaxExecutors endpoints. When the logs