Laster, Brent

Jenkins 2 up and running : evolve your deployment pipeline for next-generation automation Brent Laster, foreword by Kohsuke Kawaguchi - Sebastopol : O'Reilly Media, 2018. - xxv, 577 p. : ill. ; 25 cm.

Intro; Foreword; Preface; How to Use This Book; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Acknowledgments; 1. Introducing Jenkins 2; What Is Jenkins 2?; The Jenkinsfile; Declarative Pipelines; Blue Ocean Interface; New Job Types in Jenkins 2; Pipeline; Folder; Organization; Multibranch Pipeline; Reasons for the Shift; DevOps Movement; Assembling Pipelines; Resumability; Configurability; Sharing Workspaces; Specialized Knowledge; Access to Logic; Pipeline Source Management; Competition; Meeting the Challenges; Compatibility; Pipeline Compatibility. Plugin CompatibilitySurviving restarts; Providing scriptable APIs; Checking Compatibility; Summary; 2. The Foundations; Syntax: Scripted Pipelines Versus Declarative Pipelines; Choosing Between Scripted and Declarative Syntax; Systems: Masters, Nodes, Agents, and Executors; Master; Node; Agent; Executor; Creating Nodes; A quick note about node labels; Structure: Working with the Jenkins DSL; node; stage; steps; Understanding step syntax; Supporting Environment: Developing a Pipeline Script; Starting a Pipeline Project; The Editor; Working with the Snippet Generator; Running a Pipeline. Viewing logsStage View with errors; Replay; Summary; 3. Pipeline Execution Flow; Triggering Jobs; Build After Other Projects Are Built; Build Periodically; Cron syntax; GitHub Hook Trigger for GitSCM Polling; Poll SCM; Quiet Period; Trigger Builds Remotely; User Input; input; Parameters; Boolean; Choice; Credentials; File; List Subversion tags; Multiline String; Password; Run; String; Return Values from Multiple Input Parameters; Parameters and Declarative Pipelines; Using the parameters section; Using the Jenkins application to parameterize the build; Using a script block. Using external codeFlow Control Options; timeout; retry; sleep; waitUntil; Dealing with Concurrency; Locking Resources with the lock Step; Controlling Concurrent Builds with Milestones; Restricting Concurrency in Multibranch Pipelines; Running Tasks in Parallel; Traditional parallel syntax; stash and unstash; Alternative parallel syntax for Declarative Pipelines; parallel and failFast; Conditional Execution; Post-Processing; Scripted Pipelines Post-Processing; try-catch-finally; catchError; Declarative Pipelines and Post-Processing; Summary; 4. Notifications and Reports; Notifications; Email. Jenkins LocationE-mail Notification; Sending email in pipelines; Extended email notifications; Global configuration; Content; Recipients; Triggers; Including logs; Collaboration Services; Slack notifications; Setup in Slack; Global configuration in Jenkins; Webhooks in Slack; Sending Slack notifications in a job; HipChat notifications; Setup in HipChat for version 1 API use; Setup in HipChat for version 2 API use; Global configuration in Jenkins; Default notifications; Sending HipChat notifications in a job; Reports; Publishing HTML Reports; Summary; 5. Access and Security; Securing Jenkins.

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 Develops environments.

9781491979594


Jenkins Pipeline
DSL (Domain-specific Language)
Computer software--Quality control
Computer software--Development

005.1 LA JE