基于名为 的项目的主线流创建虚拟流。在流设置的高级选项卡的路径下,输入:Jenkins
share Binaries/...
share Plugins/SomePluginName/Binaries/... (Specify any Plugin's Binaries folders like this)
exclude Content/... (Prevent Jenkins from downloading Content since it won't need it)
exclude ContentSource/... (Specify folders that won't be needed for DLL building like this)
isolate ... (Ensure Jenkins can't submit anything except Binaries)
编码器流
创建第二个虚拟流,该虚拟流也基于名为 的主线流。在“高级”选项卡的“路径”下,输入:MainlineCoding
share ...
exclude Binaries/...
exclude Plugins/SomePluginName/Binaries/... (Specify any Plugin Binaries folders like this)创建两个虚拟流后,您应该有一个流图,其中包含以下三个灰色流: