0

我想修改 CCNET 仪表板,所以当我输入“ServerReport”时,它会显示项目 buildTime。像 startTime 一样,它也应该显示 buildTime。是否可以像这样修改仪表板?直到现在,我什么都没找到……

4

2 回答 2

1

the WebDashboard is using an MVC pattern and templates.

You'll find the templates here.

Make your adjustments there and check if the controller is passing the correct data to its view. The standard action are in the WebDashboard/plugins/ folder.

Finally run the build-all.bat in the project root to create a new deployment.

于 2013-03-21T10:20:33.847 回答
0

在您的 WebDashboard\templates 文件夹中查找文件 ProjectParameters.vm,您可以更改以下 html 标记:

<input type="hidden" name="ForceBuild" value="Force" />

从那里将其更改为以下内容:

<input type="hidden" name="ForceBuild" value="MyValue" />
于 2013-03-21T16:19:09.347 回答