Re: plugins manager restricted

2017-05-23 Thread Jesse Glick
On Tue, May 23, 2017 at 2:43 PM, Darragh Bailey wrote: >> … `prevalidateConfig` merely reports on them. > > I thought anything consuming calls behind pluginManager would require admin > privs No, depends on the method. > This all still means that a user (script/tool)

Re: plugins manager restricted

2017-05-23 Thread Darragh Bailey
On Tuesday, May 23, 2017 at 2:48:41 PM UTC+1, Jesse Glick wrote: > > On Tue, May 23, 2017 at 7:53 AM, Daniel Beck > wrote: > > this uses a slightly different API > > But closely related: `installNecessaryPlugins` actually performs any > updates, whereas

Re: Someone to take over GHPRB

2017-05-23 Thread Ben Patterson
Hi Jeremy - I maintain the plugin but I'd love to share that duty. I see an e-mail from you in my work account; I'll write you back there.  Ben On Tue, May 23, 2017 at 1:23 PM, wrote: > Hi David, > I realize it's 2017, but my company (The Linux Foundation) has a

Re: plugins manager restricted

2017-05-23 Thread Darragh Bailey
On Monday, May 22, 2017 at 6:47:18 PM UTC+1, Oleg Nenashev wrote: > > Hi, > > Happy to write the code, though I might need some help around the security >> side to ensure that I'm not re-opening additional calls to be used by a >> user with less privileges than desired, however reading >>

Re: Someone to take over GHPRB

2017-05-23 Thread jphelps
Hi David, I realize it's 2017, but my company (The Linux Foundation) has a vested interest in this plugin. I'll be glad to be a maintainer. Github Id: JPWKU Thanks, Jeremy On Friday, September 16, 2016 at 3:25:02 PM UTC-5, David Tanner wrote: > > Hello, > > I no longer have the time to

Re: Trigger a ComboBox refresh while exiting another ComboBox

2017-05-23 Thread SimonGlet
Yes it works fine with a ListBoxModel but my issue is with a ComboBoxModel. For some reason the doFill method is not triggered with that type of element. The two provide links work with a list box. Could this be a bug ? May be, still trying to figure it out. Thanks for your time ! Simon Glet

Re: SlaveProvider with Docker

2017-05-23 Thread Jesse Glick
I think you are looking at the wrong APIs altogether. Check out `SshSlavesPluginTest` for an example of launching a simple agent inside a Docker container. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and

SlaveProvider with Docker

2017-05-23 Thread Stefan Schuhbäck
Hello, I am trying to create a test-case for the Warnignsplugin where a Jenkins-Slaves runs within a docker container. It is possible to create a Slave and a docker container separately and link these two within the test method. However I would like to learn a bit more about Injecting such a

Re: Adopt PortAllocator plugin

2017-05-23 Thread David Tanner
Sorry, sent this under the wrong email, my GitHub user is DavidTanner -- 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

Adopt PortAllocator plugin

2017-05-23 Thread David Tanner
Hello, Would someone please add me to the PortAllocator plugin maintainers? I want to merge some of the Pull requests so a new release can be made. https://github.com/jenkinsci/port-allocator-plugin Thanks, David Tanner -- You received this message because you are subscribed to the

Re: Trigger a ComboBox refresh while exiting another ComboBox

2017-05-23 Thread Stephen Connolly
https://github.com/jenkinsci/github-branch-source-plugin/blob/48c18135890848ccd46e118885884e1c09533e51/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java#L1327 also (for a more complex variant) On 23 May 2017 at 07:30, Stephen Connolly

Re: Trigger a ComboBox refresh while exiting another ComboBox

2017-05-23 Thread Stephen Connolly
https://github.com/jenkinsci/github-branch-source-plugin/blob/48c18135890848ccd46e118885884e1c09533e51/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java#L1323 for example On 23 May 2017 at 07:29, Stephen Connolly wrote: > > > On 23

Re: Trigger a ComboBox refresh while exiting another ComboBox

2017-05-23 Thread Stephen Connolly
On 23 May 2017 at 06:59, SimonGlet wrote: > Hi Stephen, > > Thanks for the quick response ! :-) > > The thing is that the doFill method is only triggered when the > Project/Configure page is called. The only methods that are called without > refreshing the whole page

Re: Trigger a ComboBox refresh while exiting another ComboBox

2017-05-23 Thread SimonGlet
Hi Stephen, Thanks for the quick response ! :-) The thing is that the doFill method is only triggered when the Project/Configure page is called. The only methods that are called without refreshing the whole page are the FormValidation doCheck... It seems that is only possible way to refresh

Re: Trigger a ComboBox refresh while exiting another ComboBox

2017-05-23 Thread Stephen Connolly
You need the second combo box's signature like: doFillCB2Items(@QueryParam String cb1) so that form binding knows that there is a dependency On 23 May 2017 at 06:40, SimonGlet wrote: > Hi, > > The Jira Zephyr plugin does not allow environment variables so I replaced >

Trigger a ComboBox refresh while exiting another ComboBox

2017-05-23 Thread SimonGlet
Hi, The Jira Zephyr plugin does not allow environment variables so I replaced the drop down lists by combo boxes. The problem is to refresh the combo box value based on the selection of another combo box. Let's say I have two combo boxex, CB1 and CB2. CB1 holds project names and CB2 versions

Re: plugins manager restricted

2017-05-23 Thread Jesse Glick
On Tue, May 23, 2017 at 7:53 AM, Daniel Beck wrote: > this uses a slightly different API But closely related: `installNecessaryPlugins` actually performs any updates, whereas `prevalidateConfig` merely reports on them. -- You received this message because you are subscribed

Re: How to get SimpleBuildWrapper decorateLauncher behavior in Pipeline Wrapper

2017-05-23 Thread Jesse Glick
As noted in https://github.com/jenkinsci/jenkins/blob/d13b1361e1650494528a7b46f82fe25d7fb5e3c3/core/src/main/java/jenkins/tasks/SimpleBuildWrapper.java#L203-L207 this is not currently supported by `SimpleBuildWrapper`, as is noted in the Javadoc for the method you are overriding. You would need

Re: plugins manager restricted

2017-05-23 Thread Daniel Beck
> On 23. May 2017, at 01:23, Jesse Glick wrote: > > Yeah, sorry, have long since forgotten. https://github.com/jenkinsci/install-necessary-plugins Misremembered, this uses a slightly different API. Also, doesn't look like it handles CSRF crumbs. -- You received this