Book Image

Jenkins 2.x Continuous Integration Cookbook - Third Edition

By : Mitesh Soni, Alan Mark Berg
Book Image

Jenkins 2.x Continuous Integration Cookbook - Third Edition

By: Mitesh Soni, Alan Mark Berg

Overview of this book

Jenkins 2.x is one of the most popular Continuous Integration servers in the market today. It was designed to maintain, secure, communicate, test, build, and improve the software development process. This book will begin by guiding you through steps for installing and configuring Jenkins 2.x on AWS and Azure. This is followed by steps that enable you to manage and monitor Jenkins 2.x. You will also explore the ways to enhance the overall security of Jenkins 2.x. You will then explore the steps involved in improving the code quality using SonarQube. Then, you will learn the ways to improve quality, followed by how to run performance and functional tests against a web application and web services. Finally, you will see what the available plugins are, concluding with best practices to improve quality.
Table of Contents (11 chapters)

Managing Jenkins build jobs using Eclipse

Can we execute a Jenkins job from Eclipse? Yes we can! So, let's see how to do that.

Getting ready

  1. Go to Help | Install New Software...:
  1. Add a site for Mylyn and click on Next >:
  1. Review the items to be installed and click on Next >.
  2. Accept the terms of the license agreement and then click on Finish. It will start installing the Mylyn package.
  3. Once it is finished, Restart Eclipse.

How to do it...

Let's see how to trigger a Jenkins build from Eclipse.

  1. In the Windows menu, click on Views.
  2. Select Mylyn and...