Re: Proposal: A new authorization plugin for Folders

2019-08-06 Thread Abhyudaya Sharma
Hi everyone! We had decided to move the changes to the new Folder Auth plugin and have just released the first beta version. The plugin can be downloaded from the release

Re: Excute powershell script from plugin on remote machine

2019-08-06 Thread Rajeev Ranjan
Currently I am trying to do something like this new PowerShell().perform((AbstractBuild) run, launcher, listener) -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: Jenkinsfile-runner + Configuration-as-Code

2019-08-06 Thread Oleg Nenashev
AFAIK no. From my PoV it is not the biggest problem for JCasC performance. Currently it is rather a startup time. I am working on improving it in the background, and there have been also serious improvements last winter, thanks to Evaristo Gutiérrez and Francisco

Re: Request to be made a maintainer - cucumber-slack-notifier-plugin

2019-08-06 Thread Oleg Nenashev
Got confirmation from Gareth that he is fine with transferring the ownership. Sorry for not having a public track for it, but I believe we can proceed in this particular case On Monday, August 5, 2019 at 6:15:15 PM UTC+2, Oleg Nenashev wrote: > > Basically I agree with Baptiste above. The

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Oleg Nenashev
Should we just mark the method as `@Restricted(NoExternalUse.class)` in JTH so that all production build fail by default? This method is IMO dangerous by default On Tue, Aug 6, 2019 at 6:04 PM Oleg Nenashev wrote: > Oleg, how does this test pass for you (and presumably the CI system that >>

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Oleg Nenashev
> > Oleg, how does this test pass for you (and presumably the CI system that > gated this change) with the interactiveBreak invocation intact? > I do not run tests locally when integrating changes, I rely on CI. And CI was green, not sure why. The issue itself came from

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Kohsuke Kawaguchi
Thanks Lloyd. With Surefire 2.20.1, the error message changes more explicitly to timeout: https://gist.github.com/kohsuke/4d31b8dbcbfe1926e71ccba08f7f9555 The test case in question includes an invocation of 'interactiveBreak', which is surely wrong? When I remove that line, the test passes.

Re: Request to be made a maintainer - cucumber-slack-notifier-plugin

2019-08-06 Thread Slide
I took care of the GH and JIRA permissions. Thanks Oleg! On Tue, Aug 6, 2019 at 7:56 AM Oleg Nenashev wrote: > Got confirmation from Gareth that he is fine with transferring the > ownership. > Sorry for not having a public track for it, but I believe we can proceed > in this particular case > >

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Kohsuke Kawaguchi
I created https://github.com/jenkinsci/jenkins/pull/4142 to get us past this blockage. On Tue, Aug 6, 2019 at 8:42 AM Kohsuke Kawaguchi wrote: > Thanks Lloyd. With Surefire 2.20.1, the error message changes more > explicitly to timeout: >

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Kohsuke Kawaguchi
I was referring to your attempt to reproduce this earlier this thread. My guess on why this passes the CI is that it runs in an environment where stdin is /dev/null, which I suspect will make interactiveBreak() a no-op. When I run a release or "mvn test" from a terminal, it actually does block.

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Kohsuke Kawaguchi
Up to you --- I just came up with another suggestion, but whatever works for you is fine by me. On Tue, Aug 6, 2019 at 9:12 AM Oleg Nenashev wrote: > Should we just mark the method as `@Restricted(NoExternalUse.class)` in > JTH so that all production build fail by default? > This method is IMO

Re: Excute powershell script from plugin on remote machine

2019-08-06 Thread Jesse Glick
On Tue, Aug 6, 2019 at 8:28 AM Rajeev Ranjan wrote: > Creating own ProcessBuilder executes the step on current machine instead of > slave, which is why I want to use CommandInterpreter. You can use `Launcher`. -- You received this message because you are subscribed to the Google Groups

Re: Excute powershell script from plugin on remote machine

2019-08-06 Thread Baptiste Mathus
Why are you casting into AbstractBuild? If this is what the powershell plugin expects, then a fix seems indeed needed there to accept a Run instead. If it already does, remove your cast. (Cannot check myself, low to no bandwidth connection to Internet currently) Le mar. 6 août 2019 à 15:56,

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Jesse Glick
On Tue, Aug 6, 2019 at 12:12 PM Oleg Nenashev wrote: > Should we just mark the method as `@Restricted(NoExternalUse.class)` in JTH > so that all production build fail by default? Would have no effect—access modifiers are ignored in test sources. -- You received this message because you are

Declarative Pipeline v1.4.0-beta-1 - Matrix stages

2019-08-06 Thread Liam Newman
Hello all! I'm pleased to announce the release of Declarative Pipeline 1.4.0-beta-1 with Matrix Stages. This feature allows pipeline authors to specify a matrix of one or more dimensions and run a set of stages on the combination of values specified. One simple use case where Matrix Stages

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Oleg Nenashev
I was unable to reproduce it locally on Maven 3.6.0 and Windows. Would it be possible to provide a crashdump? Thanks in advance, Oleg On Tuesday, August 6, 2019 at 6:53:57 AM UTC+2, Kohsuke Kawaguchi wrote: > > Currently the release of 2.188 is stuck due to a failing >

Re: Cannot access to Jenkins JIRA

2019-08-06 Thread Daniel Beck
> On 6. Aug 2019, at 08:42, Juan Antonio Ruzafa wrote: > > My username is jaruzafa Fixed. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Lloyd Chang
> We have it fixed in 2.20.1. > https://issues.apache.org/jira/browse/SUREFIRE-1408 On Monday, August 5, 2019 at 11:54:30 PM UTC-7, Oleg Nenashev wrote: > > I was unable to reproduce it locally on Maven 3.6.0 and Windows. > Would it be possible to provide a crashdump? > > Thanks in advance, >

Re: Cannot access to Jenkins JIRA

2019-08-06 Thread Juan Antonio Ruzafa
Thanks Daniel! My username is jaruzafa El lunes, 5 de agosto de 2019, 21:02:01 (UTC+2), Daniel Beck escribió: > > > > > On 5. Aug 2019, at 11:23, Juan Antonio Ruzafa > wrote: > > > > Please, who can help with this? > > > > File an issue in Jira ;-) > > Joking aside, just tell us your

Re: Jenkins 2.188 release is stuck

2019-08-06 Thread Lloyd Chang
clarification: the quoted version number "2.20.1" was Surefire, and not Jenkins. On Tuesday, August 6, 2019 at 12:36:21 AM UTC-7, Lloyd Chang wrote: > > > We have it fixed in 2.20.1. > > https://issues.apache.org/jira/browse/SUREFIRE-1408 > > On Monday, August 5, 2019 at 11:54:30 PM UTC-7, Oleg

Re: Open call for acceptance-test-harness co-maintainers

2019-08-06 Thread Oliver Gondža
Awesome, thanks! Right now, we are putting together first official ATH contributor guidelines[1] and it would be great if it reflects your thoughts as well. Once we have that merged, I will proceed with granting you the admin/release permissions and formally declaring you co-maintainers.

Re: Plugin Adoption - Purge Job History Plugin

2019-08-06 Thread Aytunc Beken
Hi Daniel, I will be glad if someone can approve my pull request for permission update. https://github.com/jenkins-infra/repository-permissions-updater/pull/1245 Thanks On Tue, Jul 30, 2019 at 11:39 PM Daniel Beck wrote: > https://github.com/jenkins-infra/repository-permissions-updater/ is

Re: Jenkinsfile-runner + Configuration-as-Code

2019-08-06 Thread Florian Wilhelm
On Tuesday, May 1, 2018 at 4:42:30 PM UTC+2, nicolas de loof wrote: > > > > 2018-05-01 14:59 GMT+02:00 Jesse Glick > >: > >> On Sat, Apr 28, 2018 at 2:46 AM, nicolas de loof >> > wrote: > > > >> > probably not such >> > a trivial think to implement and alternative workflow executor to >>

Excute powershell script from plugin on remote machine

2019-08-06 Thread Rajeev Ranjan
Hi team, My plugin is downloading a powershell script and is executing that. I was using Powershell Plugin itself, but problem with this is it fails while executing pipeline script. throwing ClassCastException WorkflowRun cannot be cast to AbstractBuild [image: exception.png] With some basic