Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering Jenkins

You're reading from   Mastering Jenkins Configure and extend Jenkins to architect, build, and automate efficient software delivery pipelines

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher Packt
ISBN-13 9781784390891
Length 334 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
jmcallister - jmcallister -
Author Profile Icon jmcallister -
jmcallister -
 McAllister McAllister
Author Profile Icon McAllister
McAllister
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Mastering Jenkins
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Setup and Configuration of Jenkins FREE CHAPTER 2. Distributed Builds – Master/Slave Mode 3. Creating Views and Jobs in Jenkins 4. Managing Views and Jobs in Jenkins 5. Advanced Automated Testing 6. Software Deployments and Delivery 7. Build Pipelines 8. Continuous Practices 9. Integrating Jenkins with Other Technologies 10. Extending Jenkins Index

Creating a Jenkins plugin skeleton


Prior to launching the IntelliJ IDE and beginning our plugin development, we will need to generate a plugin skeleton. The Jenkins development community has graciously provided this skeleton framework as a way to encourage developers to extend the Jenkins subsystems. The skeleton provides a foundational development structure for developing Jenkins plugins.

Note

The skeleton framework is simply a set of files, and folders, that contain the source code for a basic hello world plugin. When developing a plugin from scratch this handy framework gives us a great foundational layer that we can start from.

To generate the Jenkins plugin skeleton we will need to command Maven to create it.. The creation of the skeleton structure is accomplished through the hpi:create goal on the command line. Let's begin by creating our obligatory Hello Jenkins plugin. To do this we will need to execute the command shown below:

#>mvn hpi:create

Once the command has been inputted...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images