TeamCity Plugin 安装 -- Static UI

本文介绍了如何使用团队城市插件将HTML、JS或CSS添加到UI页面,并详细说明了插件的配置、下载、安装步骤及使用方法。插件允许在指定页面上服务静态文件,提供灵活的UI定制选项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


1.   简介

With the help of this plugin you can add any HTML, JS or CSS to various pages of TeamCity UI.

Plugin configuration files are located under .BuildServer/config/_static_ui_extensions.

Use static-ui-extensions.xml to change the settings, see static-ui-extensions.xml.dist for template settings.

Since build 58 (0.3.58.5), there is ability to serve static files: the files located under _static_ui_extensions/pages/<relative path> are available via URLs http://<teamcity_url>/app/static_content/<relative path>.

The files are available to any (including unauthenticated) users.

2.   下载插件

https://confluence.jetbrains.com/display/TW/StaticUIExtensions

 



 

 

 

3.   安装插件

上传刚刚下载的zip并重启teamcity,这时插件就会出现在External plugins一栏



 

 

 

 

4.   Shakeout

放置一个静态页面到pages目录下

 



 

访问页面就okhttp://<teamcity>/app/static_content/test.html

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值