best ide

120 views
Skip to first unread message

tahoma tahrir

unread,
Nov 20, 2015, 2:44:47 AM11/20/15
to Jenkins Developers
What is the best IDE for developing and debuging jenkins plugin?

Stephen Connolly

unread,
Nov 20, 2015, 5:15:41 AM11/20/15
to jenkin...@googlegroups.com
There are really only three IDEs for Java: Eclipse, IntelliJ and NetBeans

For developing and debugging Jenkins, in my experience, keep as far away from Eclipse as possible... but that is just my experience.

On 20 November 2015 at 07:44, tahoma tahrir <ahad...@gmail.com> wrote:
What is the best IDE for developing and debuging jenkins plugin?

--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/cb3e1e4a-2814-4bed-9a00-74dd56189ea3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jesse Glick

unread,
Nov 20, 2015, 1:20:26 PM11/20/15
to Jenkins Dev
On Fri, Nov 20, 2015 at 5:15 AM, Stephen Connolly
<stephen.al...@gmail.com> wrote:
> For developing and debugging Jenkins, in my experience, keep as far away
> from Eclipse as possible

I have also heard of a lot of problems, but some people do it anyway.

Dedicated plugins exist for Jenkins plugin development in both IDEA
and NetBeans. I maintain the NetBeans integration. File » New Project
offers a new Jenkins plugin as an option, or File » Open Project and
navigate to the root directory of an existing one; when open, Debug »
Debug Project to launch `hpi:run` with the JPDA debugger connected,
etc.

Miguelangel Fernandez

unread,
Apr 28, 2020, 4:23:59 AM4/28/20
to Jenkins Developers
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 it's limited.
I just looked at the Netbeans plugin and thought it looked nice, but found it's meant for 8.2, which is no longer supported. It would be good to know if this plugin is still fit for purpose.
I only get into Jenkins plugin development every now and then. It would be great to get an updated recommendation of dev environment config from people who do Jenkins development more frequently.

James Nord

unread,
Apr 28, 2020, 2:56:23 PM4/28/20
to Jenkins Developers
eclipse is generally ok - but sometimes it doesn't run the annotation processor so Extensions don't get the correct information generated and then they don't show up when debugging...

dropping to the command line to run mvn clean package -DskipTests  works for me.

I've had issues with IntelliJ - there is no great IDE only ones that suck less than others in some areas..  sometimes I just use the cli and vim because it sucks less.  pick your poison

/James

Vlad Silverman

unread,
Apr 28, 2020, 4:45:43 PM4/28/20
to jenkin...@googlegroups.com
Had anybody tried using Visual Code?  Although some say it’s not complete IDE - it would be interesting to know if Visual Code has any advantages over Eclipse or IntelliJ for Jenkins developers.

Thx, Vlad

-- 
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 jenkinsci-de...@googlegroups.com.

Gavin Mogan

unread,
Apr 28, 2020, 4:55:27 PM4/28/20
to Jenkins Developers
I love vscode (mostly for remote ssh support) until you need to do the imports. Then its really random if it'll work or not

But i use that and vim for everything but java, and ideaj still a lot for java

Jesse Glick

unread,
Apr 28, 2020, 7:29:37 PM4/28/20
to Jenkins Dev
On Tue, Apr 28, 2020 at 4:24 AM Miguelangel Fernandez
<miguela...@gmail.com> wrote:
> I just looked at the Netbeans plugin and thought it looked nice, but found it's meant for 8.2, which is no longer supported. It would be good to know if this plugin is still fit for purpose.

Yes, it should work on any version of NetBeans.

Denys Digtiar

unread,
Jul 22, 2021, 7:37:18 PM7/22/21
to Jenkins Developers
For IntelliJ users. I've been doing some facelift of the plugin. It is now located at https://github.com/jenkinsci/idea-stapler-plugin There are a few new releases but they are not published to the JetBrains Marketplace due to lack of permissions. No new features really but should have better compatibility with current versions of IDEA. 

There is a Pipeline for this plugin now - https://ci.jenkins.io/job/Plugins/job/idea-stapler-plugin/job/master/. It runs a plugin verifier which says that some deprecated APIs that the plugin uses are going to be removed in the IDEA 2021.3. I'll try to find time to update those.

Ullrich Hafner

unread,
Jul 25, 2021, 2:39:00 PM7/25/21
to JenkinsCI Developers
That sounds wonderful! I am using the 2021.2 EAP and always get some exceptions with the Stapler plugin now. 

What kind of permissions do you need? Is this something we can do? Or on the JetBrains side?

--
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 jenkinsci-de...@googlegroups.com.

Denys Digtiar

unread,
Jul 25, 2021, 6:05:24 PM7/25/21
to jenkin...@googlegroups.com
Only the owner of the plugin can publish it. The plugins can be owned by organizations now. The Jenkins org was created https://plugins.jetbrains.com/organizations/jenkins. Now Kohsuke needs to transfer the plugin to the org. Once done anybody in the org can publish the plugin. 
Even better would be to come up with some CD pipeline.

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/JRE63X3ZyT0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/F7BE4385-5ADB-4513-998A-2FF1D2943D2F%40gmail.com.


--
Denys Digtiar
Developer Support Engineer
CloudBees, Inc.

Tim Jacomb

unread,
Jul 26, 2021, 2:48:25 AM7/26/21
to jenkin...@googlegroups.com, k...@kohsuke.org

Kohsuke Kawaguchi

unread,
Jul 26, 2021, 12:32:30 PM7/26/21
to Tim Jacomb, JenkinsCI Developers
Hey, thanks for bringing this to my attention.

I looked around the JetBrains UI a little but I couldn't find a way to transfer a plugin. Does anyone know how to transfer it?

Tim Jacomb

unread,
Jul 26, 2021, 12:38:51 PM7/26/21
to Kohsuke Kawaguchi, JenkinsCI Developers
These appear to be the docs if you hadn’t seen them 

Kohsuke Kawaguchi

unread,
Jul 26, 2021, 1:34:05 PM7/26/21
to Tim Jacomb, JenkinsCI Developers
Thanks. Interesting workflow they developed!

I think I successfully transferred the plugin: https://plugins.jetbrains.com/organizations/jenkins

Thanks for the tip, and my apologies for whatever frustration this delay might have caused.
Reply all
Reply to author
Forward
0 new messages