2 options
Jenkins 2.x continuous integration cookbook : over 90 recipes to produce great results using pro-level practices, techniques, and solutions / Mitesh Soni, Alan Mark Berg.
- Format:
- Book
- Author/Creator:
- Soni, Mitesh, author.
- Berg, Alan Mark, author.
- Language:
- English
- Subjects (All):
- Java (Computer program language).
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Edition:
- Third edition.
- Other Title:
- Jenkins two continuous integration cookbook
- Place of Publication:
- Birmingham, England ; Mumbai, [Maharashtra] : Packt, 2017.
- System Details:
- text file
- Biography/History:
- Soni Mitesh: 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.
- Summary:
- Get a problem-solution approach enriched with code examples for practical and easy comprehension About This Book Explore the use of more than 40 best-of-breed plug-ins for improving efficiency Secure and maintain Jenkins 2.x by integrating it with LDAP and CAS, which is a Single Sign-on solution Efficiently build advanced pipelines with pipeline as code, thus increasing your team's productivity Who This Book Is For If you are a Java developer, a software architect, a technical project manager, a build manager, or a development or QA engineer, then this book is ideal for you. A basic understanding of the software development life cycle and Java development is needed, as well as a rudimentary understanding of Jenkins. What You Will Learn Install and Configure Jenkins 2.x on AWS and Azure Explore effective ways to manage and monitor Jenkins 2.x Secure Jenkins 2.x using Matrix-based Security Deploying a WAR file from Jenkins 2.x to Azure App Services and AWS Beanstalk Automate deployment of application on AWS and Azure PaaS Continuous Testing – Unit Test Execution, Functional Testing and Load Testing In Detail 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. Style and approach This book provides a problem-solution approach to some common tasks and some uncommon tasks using Jenkins 2.x and is well-illustrated with practical code examples. Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.
- Contents:
- 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
- There's more...
- Installing Jenkins 2 on Azure
- How it works...
- Installing Jenkins as a Service in Windows
- Installing plugins in Jenkins
- See also
- Uploading plugins in Jenkins
- Configuring proxy in Jenkins
- Configuring global settings in Jenkins
- Configuring JENKINS_HOME
- Understanding JENKINS_HOME directory
- Using different ports for Jenkins
- Configuring JAVA_HOME in Jenkins
- Configuring Git in Jenkins
- Configuring ANT_HOME in Jenkins
- Configuring MAVEN_HOME in Jenkins
- Configuring GRADLE_HOME in Jenkins
- Creating a Freestyle job for Ant Project
- Creating a Maven Job for Maven Project
- How it works.
- Chapter 2: Management and Monitoring of Jenkins
- Understanding master/agent architecture
- Managing Jenkins build jobs using Eclipse
- Backing up and restoring Jenkins
- Command-line options in Jenkins using Jenkins CLI
- Modifying the Jenkins configuration from the command line
- Managing disk usage
- Shutdown Jenkins safely
- Monitoring Jenkins with JavaMelody
- Troubleshooting with JavaMelody - memory
- Troubleshooting with JavaMelody - painful jobs
- Monitoring a Jenkins Job using a Build Monitor View
- Configuring mail notifications
- Signaling the need to archive
- Chapter 3: Managing Security
- Improving security with Jenkins configuration
- Configuring Authorization - Matrix-based security
- Configuring a Project-based Matrix Authorization Strategy
- Jenkins and OpenLDAP integration
- Jenkins and Active Directory integration
- Jenkins and OWASP Zed Attack Proxy integration
- Testing for OWASP's top 10 security issues
- Target practice with WebGoat
- More tools of the trade
- See also.
- Finding 500 errors and XSS attacks in Jenkins through fuzzing
- Avoiding sign-up bots with JCaptcha
- Chapter 4: Improving Code Quality
- Integrating Jenkins with SonarQube
- Getting ready...
- There's more
- The updating center in SonarQube
- Quality gates, quality profiles, and rules
- Verifying HTML, CSS and JavaScript validity using SonarQube
- Verifying Java code using SonarQube
- Configuring SonarQube as a Windows service
- Chapter 5: Building Applications in Jenkins
- Configuring an Ant project for execution
- Configuring a Maven project for execution
- Configuring an Android project for execution
- Manipulating environmental variables
- Running Ant through Groovy in Maven
- Different server types
- Eclipse templates for JSP pages
- Remotely triggering jobs through the Jenkins API
- Running jobs from within Maven
- Remotely generating jobs
- Chapter 6: Continuous Delivery
- Archiving artifacts
- Copying an artifact from another build job
- Integrating Jenkins with Artifactory
- Deploying a WAR file from Jenkins to Tomcat
- Deploying a WAR file from Jenkins to AWS Beanstalk
- Deploying a WAR file from Jenkins to Azure App Services
- Promoting builds
- Chapter 7: Continuous Testing
- Getting started with continuous testing
- Creating a Selenium test case using Eclipse
- Integrating Jenkins and Selenium for functional testing
- Jenkins and Cucumber test reports
- Creating a load test in Apache JMeter
- Executing a load test from Jenkins
- Reporting JMeter performance metrics
- Testing with FitNesse
- See also...
- Chapter 8: Orchestration
- Understanding upstream and downstream jobs
- Configuring upstream and downstream jobs
- Configuring a build pipeline
- Creating a pipeline job
- Using a sample pipeline for execution
- Configuring a pipeline job for end-to-end automation
- Getting started with the Blue Ocean dashboard
- Chapter 9: Jenkins UI Customization
- Introduction.
- Skinning Jenkins with the simple themes plugin
- CSS 3
- Included JavaScript library frameworks
- Trust but verify
- Skinning and provisioning Jenkins using a WAR overlay
- Which types of content can you replace?
- Search engines and robots.txt
- Generating a home page
- Creating HTML reports
- Efficient use of views
- Saving screen space with the Dashboard View plugin
- Making noise with HTML5 browsers
- An extreme view for reception areas
- 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.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (EBC, viewed December 6, 2017).
- ISBN:
- 1-78829-261-8
- OCLC:
- 1014025428
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.