Importing a Maven-generated skeleton into IntelliJ

Importing a plugin into the IntelliJ IDEA IDE will provide us with a comprehensive set of development tools and will streamline the development of our plugin. To get up-and-running we will need to import an already created plugin (either checked out from GitHub OR created using the mvn hpi:create command). In this section we will discuss how to import a Maven project (the Jenkins hpi plugin) into a new project in IntelliJ IDEA and learn how to use the IDE to actively develop it.

Let's learn how to import our helloJenkins plugin into our development IDE. To accomplish this, first fire up IntelliJIDEA IDE on your local machine. Once fired up, click the Import Project navigation icon from the Quick ...

Get Mastering Jenkins now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.