我正在使用Jenkins构建一个托管在git存储库上的大型项目,其源代码是几GB。我正在为多个平台构建它。 目前我的构建文件夹如下所示:
-workspace
-configuration
-A
-<source is checked out here> + build here
-B
-<source is checked out here> + build here
-C
-<source is checked out here> + build here
并在build文件夹下为所有三个配置克隆源。 我想要的是拥有以下内容:
-workspace
-<source is checked out here>
-configuration
-A
-out of tree build here
-B
-out of tree build here
-C
-out of tree build here
源代码将直接在工作区下签出,我的构建配置将在配置目录中执行out of tree build。
如何使用jenkins和git插件配置实现此目的?