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 CI 中进行构建后提交。
有没有办法做到这一点?
我的问题是,当我构建它时,它会在工作区中生成一些我需要提交给 svn 的 dll。
这取决于您用于构建源代码的构建技术(例如 Ant、Maven、MSBuild 或 FianlBuilder)。要将构建结果签入 svn,您应该在构建脚本的末尾添加一些新步骤。此步骤将简单地将您的构建结果添加到 svn。例如,您的步骤可能包含:
svn commit --file build-output.1 build-output.2
应该注意的是,一些构建技术配备了用于使用 svn 的内置任务或操作。