github.com/DEFRA/ffc-jenkins-pipeline-library

FFC Jenkins shared library

Open this visualization on its own page →

Contributors

13

Lines of Code

716

From

2019-11-15

To

2020-12-07

About DEFRA/ffc-jenkins-pipeline-library

The FFC Jenkins Pipeline Library is a shared Groovy library that provides common build and deployment scripts for Jenkins pipelines used across the Farming Finance and Countryside (FFC) programme. It offers standardized pipeline configurations for Node.js, .NET Core, and Helm chart projects, reducing the need for individual projects to define their own build logic from scratch.

The library supports both default build configurations that work out of the box for common project types and fully customizable bespoke configurations for projects with unique requirements. It includes pre-defined extension points through closures that allow teams to inject custom steps at specific pipeline stages like validation, building, testing, and deployment. The library also provides deployment methods for managing Helm chart deployments to FFC clusters and integrates with tools like Snyk for security scanning and Docker registries for container management.

Versioning follows semantic versioning with automatic GitHub release creation upon merge to the main branch. The library includes multi-MAJOR version support, allowing bug fixes and features to be maintained for previous versions even after newer major versions are released. All code is linted using the GitHub Super Linter, and the repository includes extensive documentation for available methods alongside examples showing how to set up and configure Jenkins to use the library.

Share this video