Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Jenkins

You're reading from  Mastering Jenkins

Product type Book
Published in Oct 2015
Publisher Packt
ISBN-13 9781784390891
Pages 334 pages
Edition 1st Edition
Languages
Authors (2):
jmcallister - jmcallister -
Jonathan McAllister Jonathan McAllister
Profile icon Jonathan McAllister
View More author details

Table of Contents (18) Chapters

Mastering Jenkins
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Setup and Configuration of Jenkins 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 €14.99/month. Cancel anytime}