Fortify360 具有自动化构建流程?

发布于 2024-09-24 11:14:34 字数 43 浏览 1 评论 0原文

有人有使用 CruiseControl.net 或类似工具的示例配置吗?

Anyone have any sample configurations using CruiseControl.net or similar tool?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

最后的乘客 2024-10-01 11:14:34

执行此操作的最佳方法是:

  1. 在构建服务器上安装 Microsoft Visual Studio
  2. 在构建服务器上安装 Fortify SCA
  3. 在巡航控制配置中,查看源代码
  4. 指定巡航控制配置以在 Visual Studio 中运行以下命令命令提示符:

    sourceanalyzer -b FOO devenv Solution.sln /REBUILD "Debug"

sourceanalyzer -b FOO devenv Solution.sln / REBUILD 最后一个参数是构建配置的名称;此配置需要为您需要 SCA 分析的任何可构建组件发出 PDB。

The best way to do this is:

  1. Install Microsoft Visual Studio on the build server
  2. Install Fortify SCA on the build server
  3. In the cruise control configuration, check out the source code
  4. Specify the cruise control configuation to run the following in a Visual Studio command prompt:

    sourceanalyzer -b FOO devenv solution.sln /REBUILD "Debug"

The final parameter is the name of the build configuration; this configuration needs to emit PDBs for any buildable component you need SCA to analyze.

对风讲故事 2024-10-01 11:14:34

如果您还没有找到它,您可以从以下位置获取 authtoken:
fortifyclient token -gettoken AnalysisUploadToken -url [url] -user [YourUsername]

对于上传,我发现使用“-project [PROJECT] -version [VERSION]”的字符串参数而不是 -projectID [NUMBER] 更容易。同样的事情,不同的调用。

If you haven't already found it, you can get the authtoken from:
fortifyclient token -gettoken AnalysisUploadToken -url [url] -user [YourUsername]

For uploads, I find it easier to use the string arguments of both "-project [PROJECT] -version [VERSION]" instead of the -projectID [NUMBER]. Same thing, different invocation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文