
Jenkins 2.x Continuous Integration Cookbook
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Persons
Mitesh Soni has 8 years of experience in managing software for GNU/Linux and other UNIX-like operating systems in production environment. He started working as a professional with DevOps from 2013 and has worked on several live projects related to DevOps. https://www.linkedin.com/in/alessiogarofaloBerg Alan Mark :
Alan Mark Berg, BSc, MSc, PGCE, has been the lead developer at Central Computer Services at the University of Amsterdam since 1998. He is currently working in an Innovation Work Group that accelerates the creation of new and exciting services. In his famously scarce spare time, he writes. Alan has a bachelor's degree, two master's degrees, a teaching qualification, and quality assurance certifications. He has also coauthored two Packt Publishing books about Sakai, a highly successful open source learning management platform used by millions of students around the world. He has won a couple of awards, including the Sakai Fellowship and Teaching With Sakai Innovation Award (TWSIA). Alan enjoys working with talent; this forces him to improve his own competencies. This motivation is why Alan enjoys working in energetic, open source communities of interest. At the time of writing, he is on the board of directors of the Apereo Foundation and is the community officer for its Learning Analytics Initiative.In previous incarnations, Alan was a QA director, a technical writer, an Internet/Linux course writer, a product line development officer, and a teacher. He likes to get his hands dirty with building, gluing systems, exploring data, and turning it into actionable information. He remains agile by ruining various development and acceptance environments and generally rampaging through the green fields of technological opportunity.
Content
- Cover
- Copyright
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Customer Feedback
- Dedication
- Table of Contents
- Preface
- Chapter 1: Getting Started with Jenkins
- Introduction
- Installing Jenkins 2 on Windows
- Getting ready
- How to do it...
- Installing Jenkins 2 on CentOS
- Getting ready
- How to do it...
- There's more...
- Installing Jenkins 2 on Azure
- Getting ready
- How to do it...
- How it works...
- Installing Jenkins as a Service in Windows
- Getting ready
- How to do it...
- How it works...
- Installing plugins in Jenkins
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Uploading plugins in Jenkins
- Getting ready
- How to do it...
- How it works...
- Configuring proxy in Jenkins
- Getting ready
- How to do it...
- Configuring global settings in Jenkins
- Getting ready
- How to do it...
- There's more...
- Configuring JENKINS_HOME
- Getting ready
- How to do it...
- How it works...
- There's more...
- Understanding JENKINS_HOME directory
- Getting ready
- How to do it...
- See also
- Using different ports for Jenkins
- Getting ready
- How to do it...
- How it works...
- Configuring JAVA_HOME in Jenkins
- Getting ready
- How to do it...
- How it works...
- Configuring Git in Jenkins
- Getting ready
- How to do it...
- How it works...
- Configuring ANT_HOME in Jenkins
- Getting ready
- How to do it...
- How it works...
- Configuring MAVEN_HOME in Jenkins
- Getting ready
- How to do it...
- How it works...
- Configuring GRADLE_HOME in Jenkins
- Getting ready
- How to do it...
- How it works...
- Creating a Freestyle job for Ant Project
- Getting ready
- How to do it...
- How it works...
- Creating a Maven Job for Maven Project
- Getting ready
- How to do it...
- How it works...
- Chapter 2: Management and Monitoring of Jenkins
- Understanding master/agent architecture
- Getting ready
- How to do it...
- Managing Jenkins build jobs using Eclipse
- Getting ready
- How to do it...
- Backing up and restoring Jenkins
- Getting ready
- How to do it...
- See also
- Command-line options in Jenkins using Jenkins CLI
- Getting ready
- How to do it...
- Modifying the Jenkins configuration from the command line
- Getting ready
- How to do it...
- How it works...
- Managing disk usage
- Getting ready
- How to do it...
- See also
- Shutdown Jenkins safely
- Getting ready
- How to do it...
- Monitoring Jenkins with JavaMelody
- Getting ready
- How to do it...
- There's more...
- Troubleshooting with JavaMelody - memory
- Troubleshooting with JavaMelody - painful jobs
- Monitoring a Jenkins Job using a Build Monitor View
- Getting ready
- How to do it...
- Configuring mail notifications
- Getting ready
- How to do it...
- Signaling the need to archive
- Getting ready
- How to do it...
- How it works...
- There's more...
- Chapter 3: Managing Security
- Introduction
- Improving security with Jenkins configuration
- Getting ready
- How to do it...
- Configuring Authorization - Matrix-based security
- Getting ready
- How to do it...
- Configuring a Project-based Matrix Authorization Strategy
- Getting ready
- How to do it...
- Jenkins and OpenLDAP integration
- Getting ready
- How to do it...
- There's more...
- Jenkins and Active Directory integration
- Getting ready
- How to do it...
- Jenkins and OWASP Zed Attack Proxy integration
- Getting ready
- How to do it...
- See also
- Testing for OWASP's top 10 security issues
- Getting ready
- How to do it...
- How it works...
- There's more...
- Target practice with WebGoat
- More tools of the trade
- See also
- Finding 500 errors and XSS attacks in Jenkins through fuzzing
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Avoiding sign-up bots with JCaptcha
- Getting ready
- How to do it...
- How it works...
- Chapter 4: Improving Code Quality
- Introduction
- Integrating Jenkins with SonarQube
- Getting ready...
- How to do it...
- There's more
- The updating center in SonarQube
- Getting ready
- How to do it...
- There's more...
- Quality gates, quality profiles, and rules
- How to do it...
- Verifying HTML, CSS and JavaScript validity using SonarQube
- Getting ready
- How to do it...
- There's more
- Verifying Java code using SonarQube
- Getting ready
- How to do it...
- Configuring SonarQube as a Windows service
- Getting ready
- How to do it...
- There's more
- Chapter 5: Building Applications in Jenkins
- Introduction
- Configuring an Ant project for execution
- Getting ready
- How to do it...
- There's more...
- Configuring a Maven project for execution
- Getting ready
- How to do it...
- Configuring an Android project for execution
- Getting ready
- How to do it...
- Manipulating environmental variables
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Running Ant through Groovy in Maven
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Getting ready
- How to do it...
- How it works...
- There's more...
- Different server types
- Eclipse templates for JSP pages
- Remotely triggering jobs through the Jenkins API
- Getting ready
- How to do it...
- How it works...
- There's more...
- Running jobs from within Maven
- Remotely generating jobs
- See also
- Chapter 6: Continuous Delivery
- Introduction
- Archiving artifacts
- Getting ready
- How to do it...
- See also
- Copying an artifact from another build job
- Getting ready
- How to do it...
- There's more...
- Integrating Jenkins with Artifactory
- Getting ready
- How to do it...
- Deploying a WAR file from Jenkins to Tomcat
- Getting ready
- How to do it...
- Deploying a WAR file from Jenkins to AWS Beanstalk
- Getting ready
- How to do it...
- Deploying a WAR file from Jenkins to Azure App Services
- Getting ready
- How to do it...
- Promoting builds
- Getting ready
- How to do it...
- Chapter 7: Continuous Testing
- Getting started with continuous testing
- Creating a Selenium test case using Eclipse
- Getting ready
- How to do it...
- Integrating Jenkins and Selenium for functional testing
- Getting ready
- How to do it...
- There's more
- Jenkins and Cucumber test reports
- Getting ready
- How to do it...
- Creating a load test in Apache JMeter
- Getting ready
- How to do it...
- There's more
- Executing a load test from Jenkins
- Getting ready
- How to do it...
- Reporting JMeter performance metrics
- Getting ready
- How to do it...
- How it works...
- There's more...
- Testing with FitNesse
- Getting ready
- How to do it...
- How it works...
- See also...
- Chapter 8: Orchestration
- Introduction
- Understanding upstream and downstream jobs
- Getting ready
- How to do it...
- Configuring upstream and downstream jobs
- Getting ready
- How to do it...
- Configuring a build pipeline
- Getting ready
- How to do it...
- Creating a pipeline job
- Getting ready
- How to do it...
- Using a sample pipeline for execution
- Getting ready
- How to do it...
- Configuring a pipeline job for end-to-end automation
- Getting ready
- How to do it...
- Getting started with the Blue Ocean dashboard
- Getting ready
- How to do it...
- Chapter 9: Jenkins UI Customization
- Introduction
- Skinning Jenkins with the simple themes plugin
- Getting ready
- How to do it...
- How it works...
- There's more...
- CSS 3
- Included JavaScript library frameworks
- Trust but verify
- There's more
- See also
- Skinning and provisioning Jenkins using a WAR overlay
- Getting ready
- How to do it...
- How it works...
- There's more...
- Which types of content can you replace?
- Search engines and robots.txt
- See also
- Generating a home page
- Getting ready
- How to do it...
- Creating HTML reports
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Efficient use of views
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Saving screen space with the Dashboard View plugin
- Getting ready
- How to do it...
- There's more...
- See also
- Making noise with HTML5 browsers
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- An extreme view for reception areas
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Chapter 10: Processes that Improve Quality
- Culture and collaboration
- Fail early or fail faster
- Data-driven testing
- Learning from history
- Considering test automation as a software project
- Visualize, visualize, and visualize!
- Conventions are good
- Test frameworks and commercial choices are increasing
- Offsetting work to Jenkins nodes
- Starving QA/integration servers
- Reading the change log of Jenkins
- Avoiding human bottlenecks
- Avoiding groupthink
- Training and community
- Visibly rewarding successful developers
- Stability and code maintenance
- Resources on quality assurance
- And there's always more
- Final comments
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.