Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Jenkins 上有一份工作,负责运行功能测试并生成测试结果。在我得到结果后,我需要运行一个新作业,该作业将从 svn 触发一个 java 程序。该程序在错误跟踪数据库中更新了测试结果。我的问题是如何在 Jenkins 上设置会触发 Java 程序的新工作?我需要某种类型的脚本吗?欢迎所有建议。谢谢
创建一个从 svn 中签出内容的作业,就像您为进行编译的作业所做的那样。
然后创建Execute Windows 批处理命令或Execute shell build 步骤,在其中放置运行 java 程序的命令,可能是java -jar ....
java -jar ...