Jenkins 2.x continuous integration cookbook over 90 recipes to produce great results using pro-level practices, techniques, and solutions
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 Eff...
Otros Autores: | , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England ; Mumbai, [Maharashtra] :
Packt
2017.
|
Edición: | Third edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630375906719 |
Tabla de Contenidos:
- 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.