|
|
@@ -12,12 +12,14 @@
|
|
|
<th class="sortable" data-field="appType">应用类型</th>
|
|
|
<th class="sortable" data-field="env">环境</th>
|
|
|
<th class="sortable" data-field="repoBranch">分支</th>
|
|
|
- <th class="sortable" data-field="buildConfig">构建配置</th>
|
|
|
- <th class="sortable" data-field="packScript">打包脚本</th>
|
|
|
- <th class="sortable" data-field="packagePath">包路径</th>
|
|
|
- <th class="sortable" data-field="commitInfo">版本信息</th>
|
|
|
+ <th class="sortable" data-field="commitId">版本 ID</th>
|
|
|
<th class="sortable" data-field="buildTime">构建时间</th>
|
|
|
- <th class="sortable" data-field="result">构建结果</th>
|
|
|
+ <th class="sortable">构建配置</th>
|
|
|
+ <th class="sortable">打包脚本</th>
|
|
|
+ <th class="sortable" data-field="packagePath">包路径</th>
|
|
|
+ <th class="sortable">版本信息</th>
|
|
|
+ <th class="sortable">构建耗时</th>
|
|
|
+ <th class="sortable">构建结果</th>
|
|
|
<th class="sortable" data-field="buildBy">构建用户</th>
|
|
|
<th>操作</th>
|
|
|
</tr>
|
|
|
@@ -27,31 +29,35 @@
|
|
|
<td th:text="${item.appId}">应用 ID</td>
|
|
|
<td th:text="${item.appType}">应用类型</td>
|
|
|
<td th:text="${item.env}">环境</td>
|
|
|
- <td th:text="${item.repoBranch}">分支</td>
|
|
|
+ <td th:text="${item.branch}">分支</td>
|
|
|
+ <td th:text="${item.commitId}">版本 ID</td>
|
|
|
+ <td th:text="${item.buildTime}">构建时间</td>
|
|
|
<td>
|
|
|
<a class="open-popup" data-title="构建配置" data-size="1000,500" href="#"
|
|
|
- th:attr="data-url=@{'/app/bd/log/build/'+${item.id} + '/buildconfig'}">查看</a>
|
|
|
+ th:attr="data-url=@{'/app/bd/log/build/'+${item.buildLogId} + '/buildconfig'}">查看</a>
|
|
|
</td>
|
|
|
<td>
|
|
|
<a class="open-popup" data-title="打包脚本" data-size="1000,500" href="#"
|
|
|
- th:attr="data-url=@{'/app/bd/log/build/'+${item.id} + '/packscript'}">查看</a>
|
|
|
+ th:attr="data-url=@{'/app/bd/log/build/'+${item.buildLogId} + '/packscript'}">查看</a>
|
|
|
</td>
|
|
|
<td th:text="${item.packagePath}">包路径</td>
|
|
|
<td>
|
|
|
<a class="open-popup" data-title="版本信息" data-size="1000,500" href="#"
|
|
|
- th:attr="data-url=@{'/app/bd/log/build/'+${item.id} + '/commitinfo'}">查看</a>
|
|
|
+ th:attr="data-url=@{'/app/bd/log/build/'+${item.buildLogId} + '/commitinfo'}">查看</a>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <a class="open-popup" data-title="构建时间" data-size="1000,500" href="#"
|
|
|
- th:attr="data-url=@{'/app/bd/log/build/'+${item.id} + '/buildtime'}">查看</a>
|
|
|
+ <a class="open-popup" data-title="构建耗时" data-size="1000,500" href="#"
|
|
|
+ th:attr="data-url=@{'/app/bd/log/build/'+${item.buildLogId} + '/buildtime'}">查看</a>
|
|
|
</td>
|
|
|
<td>
|
|
|
<a class="open-popup" data-title="构建结果" data-size="1000,500" href="#"
|
|
|
- th:attr="data-url=@{'/app/bd/log/build/'+${item.id} + '/result'}">查看</a>
|
|
|
+ th:attr="data-url=@{'/app/bd/log/build/'+${item.buildLogId} + '/result'}">查看</a>
|
|
|
</td>
|
|
|
<td th:text="${item.buildBy}">构建用户</td>
|
|
|
<td>
|
|
|
- <a class="ajax-post" th:href="@{'/api/app/bd/deploy?appId='+${item.id}}">部署</a>
|
|
|
+ <a class="open-popup" data-title="部署日志" th:attr="data-url=@{'/app/bd/log/deploy/'+${item.buildLogId}}"
|
|
|
+ href="#">部署日志</a>
|
|
|
+ <a class="ajax-post" th:href="@{'/api/app/bd/deploy?appId='+${item.buildLogId}}">部署</a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|