United Statesjenkinsci/pipeline-as-yaml-plugin
Jenkins Pipeline As Yaml Plugin
🛠️ Định nghĩa Jenkins Pipeline bằng YAML với Pipeline As Yaml Plugin
Plugin cho phép viết pipeline Jenkins bằng YAML, tự động biên dịch sang Declarative Pipeline.
Pipeline As Yaml Plugin là một plugin cho Jenkins, cho phép người dùng định nghĩa pipeline cho cả Pipeline Job và MultiBranch Pipeline Job bằng định dạng YAML thay vì DSL truyền thống. YAML được chuyển đổi tự động thành cú pháp Jenkins Pipeline Declarative tại thời gian chạy.
✨ Điểm nổi bật
- Hỗ trợ YAML: Định nghĩa pipeline bằng YAML, dễ đọc và viết hơn DSL.
- Tự động chuyển đổi: Chuyển đổi YAML sang Declarative Pipeline syntax trong thời gian chạy.
- Tương thích bước hiện có: Sử dụng bất kỳ bước nào từ Snippet Generator hoặc Declarative Directive Generator.
- Hỗ trợ MultiBranch Pipeline: Chọn tùy chọn “by Jenkinsfile As Yaml” trong cấu hình build.
- Cú pháp đầy đủ: Hỗ trợ agent, environment, options, post, tools, when, parameters, triggers, library và stages.
- Nguồn từ ví dụ thực tế: Cung cấp ví dụ chi tiết trong thư mục src/test/resources.
💡 Vì sao đáng chú ý
Plugin này mang lại trải nghiệm viết pipeline gần gũi với nhà phát triển thông qua YAML — một định dạng quen thuộc và dễ bảo trì. Thay vì phải học DSL riêng của Jenkins, người dùng có thể dùng YAML trực quan kết hợp với các bước Jenkins hiện có một cách liền mạch.
Hiện đang ở giai đoạn phát triển ban đầu, plugin đang được cập nhật để phù hợp hơn với hệ sinh thái Jenkins. Phù hợp cho những ai muốn khám phá hoặc đóng góp vào công nghệ pipeline dựa trên YAML.
#Jenkins #YAML #PipelineAsCode #DevOps #TiniX
Similar Projects
Discover other similar projects and AI models.
Orchestrate everything, everywhere. The open-source control plane for workflows across data, infrastructure, business processes and AI agents. Declarative YAML, event-driven, any language, Git-versioned, scalable to millions of executions.
Jenkins plugin which allows building, testing, and using Docker images from Jenkins Pipeline projects.
Jenkins plugin for pipeline visualisation, perfect for Continuous Delivery