在Jenkins中为Multijob插件创建作业 [英] Creating Jobs for Multijob Plugin in Jenkins

查看:224
本文介绍了在Jenkins中为Multijob插件创建作业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要并行执行作业,并且遇到了一个名为Jenkins的名为MultiJob插件的插件.

I had a requirement for executing jobs in parallel and came across this plugin called MultiJob plugin for Jenkins.

浏览文档后,我创建了阶段并给出了工作名称.但是我基本上在哪里创建作业.我的意思是作业"TaskToExecute1"和"TasktoExecute2"的脚本,构建步骤和构建后步骤.

After going through documentation, i created phases and gave job names. But where do i create job basically.I mean the script ,build step and post build step for job "TaskToExecute1" and "TasktoExecute2".

谢谢, VVP

推荐答案

Vishnu,您需要创建从作业名称"中引用的作业.

Vishnu, you need to create the jobs that are referenced from the "Job Name".

因此,在您的示例中,创建一个单独的作业/项目(例如"New Item"->"Freestyle Project"),并将其命名为TaskToExecute1.然后,您可以向新的TaskToExecute作业/项目添加构建步骤.

So in your example, create a separate job/project (e.g. "New Item" -> "Freestyle Project") and call it TaskToExecute1. Then you can add a build step to that new TaskToExecute job/project.

希望这对您有帮助!

这篇关于在Jenkins中为Multijob插件创建作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆