Company
Date Published
Author
Anton Weiss
Word count
693
Language
English
Hacker News points
None

Summary

Version 1.5 of the Codefresh plugin for Jenkins has been released, enhancing the integration of Docker-native CI/CD pipelines with Jenkins workflows, particularly for groovy-based pipelines. This version allows for easier scripting of complex CI/CD workflows through loops, conditional expressions, and shared libraries, with a unified syntax for defining Codefresh environment variables. The typical Jenkins-to-Codefresh workflow involves Jenkins handling non-Docker tasks before passing control to Codefresh for Docker image building, deployment, and testing, then returning to Jenkins for post-processing. An example involving the "bringon" project demonstrates this workflow, showcasing how Jenkins pipelines can be used to build and test libraries, create GitHub tags, and trigger Codefresh pipelines with specific environment variables. Additionally, Jenkins pipelines can quickly launch composition-based ephemeral environments using docker-compose for testing purposes. The upcoming version 1.6 of the plugin promises further enhancements for on-prem enterprise installations and improved pipeline API features.