Jenkins构建流和构建管道插件

Jenkins构建流和构建管道插件,jenkins,Jenkins,如果作业使用(包括重复作业)运行,是否仍会正确显示作业顺序 以下是构建流程的伪代码: build("Package") build("Deploy", destination: "http://test") // deploy to our test environment build("IntegrationTests", target: "http://test") // run automated tests build("Deploy", destination: "http://st

如果作业使用(包括重复作业)运行,是否仍会正确显示作业顺序


以下是构建流程的伪代码:

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
  • 将从源代码管理中提取代码,对其进行编译,并将其存储为工件
  • Deploy将从上游作业复制工件,然后将其复制到
    目标
    参数中提供的URL
  • IntegrationTests将针对
    目标
    参数中提供的URL运行一套集成测试
即使重复了Deploy作业,也会将此管道显示为4个步骤吗

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

新的解决方案是。此外,CloudBees开放了他们的源代码,为管道插件提供了可视化功能。

是的,只要您在每个构建作业中指定上游和下游作业,您就可以在任何地方重复任何内容。