Jenkins构建流程和构建管道插件

时间:2015-05-07 17:51:42

标签: jenkins

如果使用Build Pipeline plugin(包括重复的作业)运行作业,Build Flow是否仍会正确显示作业序列?

这是我们构建流程的伪代码:

build("Package")
build("Deploy", destination: "http://test") // deploy to our test environment
build("IntegrationTests", target: "http://test") // run automated tests
build("Deploy", destination: "http://stage") // deploy to stage
  • 将从源代码控制中提取代码,编译代码并将其存储为工件
  • 部署将从上游作业中复制工件,然后将其复制到destination参数
  • 中提供的网址
  • IntegrationTests 将针对destination参数中提供的网址运行一系列集成测试。

即使部署作业重复,Build Pipeline plugin是否会将此管道显示为4个步骤?

Package  =>  Deploy (test)  =>  IntegrationTests  =>  Deploy (stage)

1 个答案:

答案 0 :(得分:0)

新解决方案which is being adopted with Jenkins 2.0Pipeline plugin。此外,CloudBees开源了他们的Pipeline Stage View plugin,它为Pipeline插件提供了可视化。