Book description
Design, implement, and execute continuous delivery pipelines with a level of flexibility, control, and ease of maintenance that was not possible with Jenkins before. With this practical book, build administrators, developers, testers, and other professionals will learn how the features in Jenkins 2 let you define pipelines as code, leverage integration with other key technologies, and create automated, reliable pipelines to simplify and accelerate your DevOps environments.
Author Brent Laster shows you how Jenkins 2 is significantly different from the more traditional, web-only versions of this popular open source automation platform. If you’re familiar with Jenkins and want to take advantage of the new technologies to transform your legacy pipelines or build new modern, automated continuous delivery environments, this is your book.
- Create continuous delivery pipelines as code with the Jenkins domain-specific language
- Get practical guidance on how to migrate existing jobs and pipelines
- Harness best practices and new methods for controlling access and security
- Explore the structure, implementation, and use of shared pipeline libraries
- Learn the differences between declarative syntax and scripted syntax
- Leverage new and existing project types in Jenkins
- Understand and use the new Blue Ocean graphical interface
- Take advantage of the capabilities of the underlying OS in your pipeline
- Integrate analysis tools, artifact management, and containers
Publisher resources
Table of contents
- Foreword
- Preface
- 1. Introducing Jenkins 2
- 2. The Foundations
- 3. Pipeline Execution Flow
- 4. Notifications and Reports
- 5. Access and Security
-
6. Extending Your Pipeline
- Trusted Versus Untrusted Libraries
- Internal Versus External Libraries
- Getting a Library from the Source Repository
- Using Libraries in Your Pipeline Script
- Library Scope Within Jenkins Items
- Library Structure
- Sample Library Routine
- Using Third-Party Libraries
- Loading Code Directly
- Loading Code from an External SCM
- Replaying External Code and Libraries
- A Closer Look at Trusted Versus Untrusted Code
- Summary
- 7. Declarative Pipelines
- 8. Understanding Project Types
- 9. The Blue Ocean Interface
- 10. Conversions
- 11. Integration with the OS (Shells, Workspaces, Environments, and Files)
- 12. Integrating Analysis Tools
- 13. Integrating Artifact Management
- 14. Integrating Containers
- 15. Other Interfaces
-
16. Troubleshooting
- Diving into Pipeline Steps
- Dealing with Serialization Errors
- Identifying the Line in Your Script that Caused an Error
- Handling Exceptions in a Pipeline
- Using Nondeclarative Code Within a Declarative Pipeline
- Unapproved Code (Script and Method Approval)
- Unsupported Operations
- System Logs
- Timestamps
- Pipeline Durability Settings
- Summary
- Index
Product information
- Title: Jenkins 2: Up and Running
- Author(s):
- Release date: May 2018
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491979594
You might also like
book
Jenkins: The Definitive Guide
Streamline software development with Jenkins, the popular Java-based open source tool that has revolutionized the way …
book
Continuous Delivery with Docker and Jenkins - Third Edition
Create a complete continuous delivery process using modern DevOps tools such as Docker, Jenkins, Kubernetes, Ansible, …
video
Practical Jenkins
Setting up Jenkins and running build jobs is not enough for a production infrastructure. For optimal …
video
Pipeline as Code: Continuous Delivery with Jenkins, Kubernetes, and Terraform - video edition
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and …