问题
I notice there are (at least) two orchestration options for Jenkins
- Build Flow
- Workflow - Now known as Pipeline
I found Build Flow first and implemented an orchestration job around that which seems to work OK for our needs. Are there any advantages to switching to Pipeline? My thoughts for switching to Pipeline are
- Pro - The project seems more active than Build Flow
- Con - The DSL seems much more complex
回答1:
Pipeline / Workflow is based off concepts from the Build Flow plugin. Based on the wiki notes here: https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin it would seem like Pipeline is the future of Build Flow. I know for a fact that Pipeline is considered a a core strategic initiative for Jenkins 2.0 by Cloudbees and will be a front and center initiative going forward.
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+2.0
In short, I would move to Pipeline to be ahead of the curve.
回答2:
Build Flow is the predecessor of Pipeline. Pipeline is more complex and more powerful (flexibility, features, integrations, etc).
来源:https://stackoverflow.com/questions/35284103/jenkins-build-flow-versus-workflow-pipeline-plugin