Re: best ide

2020-04-28 Thread Miguelangel Fernandez
Hi, I've been using this to relative success: - IntelliJ Community 2017.3.5 - IntelliJ Stapler plugin 1.8 - Maven 3.3.9 - JDK 1.8.0_112 There's no option in IntelliJ to create a new Jenkins plugin project. And I can't navigate from the Jelly resources to the linked Java code. So

Re: How to make jobs inherit folder properties

2018-03-15 Thread Miguelangel Fernandez
Thanks Jesse, Great stuff as always. I see your point. I'll try the EnvironmentContributor. And thank you for the link to the docs. I somehow missed this. On 14 Mar 2018 3:59 pm, "Jesse Glick" wrote: > Oh and of course read the docs! > >

How to make jobs inherit folder properties

2018-03-14 Thread Miguelangel Fernandez
Hi, For a plugin I'm working on I've defined my own folder-level property by extending *AbstractFolderProperty* and *AbstractDescribableImpl*, but now I'd like make all jobs inside the folder inherit this property. What is the best way to go about this? Here's what I have so

Re: Defining my own project type

2018-01-24 Thread Miguelangel Fernandez
wrote: > > On Wed, Jan 17, 2018 at 6:22 PM, Miguelangel Fernandez > <miguela...@gmail.com > wrote: > > I've extended DescriptorVisibilityFilter the > > same way the Hide Maven Plugin does. > > Remember this just hides the link in the GUI. It has no effect on &g

Re: Defining my own project type

2018-01-17 Thread Miguelangel Fernandez
Great stuff guys. As Daniel and Jesse suggested I've extended DescriptorVisibilityFilter the same way the Hide Maven Plugin does. This is a great first step. Now I want to try Robert's idea to see whether I can make this a bit more granular and disable it only for certain user groups. I had no

Re: Defining my own project type

2018-01-15 Thread Miguelangel Fernandez
Thank you for the advice, Jesse. The Templates Plugin is a feature of Cloudbees Jenkins, not a free open-source plugin. I don't have the budget for CloudBees Jenkins so I've started trying my hand at developing my own project type -which is the first of the items I've outlined above. Doing well

Defining my own project type

2018-01-11 Thread Miguelangel Fernandez
Hi everyone, I have a very specific use case. All my Jenkins users must be allowed to create jobs that do a very specific thing. Not generic jobs. But jobs that are all created from the same template. I use the Job DSL plugin to create these jobs, and the jobs created all use the same

Re: String Validation Plugin maintenance

2018-01-02 Thread Miguelangel Fernandez
Hi everyone, I created a PR a couple of days ago on this plugin, to allow markup descriptions to be displayed. The automatic checks that ran failed because of of some TransferFailedException. I've no idea what this is about, but it's not because of the changes I'm proposing with this PR. Does

Re:

2017-12-22 Thread Miguelangel Fernandez
Thank you @Daniel. Great answer. This solves my problem. On Thursday, 21 December 2017 13:49:36 UTC+1, Miguelangel Fernandez wrote: > > Hi everyone, > > I've written a Jenkins plugin to implement my own authentication mechanism > by extending hudson.security.SecurityRealm.

[no subject]

2017-12-21 Thread Miguelangel Fernandez
Hi everyone, I've written a Jenkins plugin to implement my own authentication mechanism by extending hudson.security.SecurityRealm. Now I'm trying to create my own custom "Access Denied" page, to display when a user types in the wrong password or simply doesn't have access. To do this, I've

Expose a new global environment variable

2017-10-11 Thread Miguelangel Fernandez
Hi, I'm working on a Jenkins plugin and I have a need to make a new environment variable available to all jobs in Jenkins. Sort of like a Jenkins global environment variable, or maybe exactly like that. I'm not sure. I just need it to be available to any script. I already capture the value for

Re: notice of unmaintained plugin github-oauth-plugin

2017-04-28 Thread Miguelangel Fernandez
Hi everyone, Just looking for some advice here. I need to configure Jenkins to delegate authentication to an Oauth 1.0 Identity Provider. Is extending the Oauth plugin the right way to go? If so, where can I find some good documentation on how to get started doing that? Thank you, On

Delegate Jenkins authentication to Oauth1.0 or Custom Security Realm

2017-04-28 Thread Miguelangel Fernandez
We have a legacy Identity Provider which only supports two authentication mechanisms: 1. Oauth 1.0. 2. A custom service I can call with a user and password and obtain a session token which then has to be placed in a custom header of every other call to the IdP —to get user info