TeamCity to serve static HTML page

女生的网名这么多〃 提交于 2019-12-22 17:41:21

问题


I am looking for a way to serve a few static HTML pages with TeamCity.
I dont want to set up an apache for that, if not absolutely neccessary.

Does anybody know a simple way (or URL scheme) to access static HTML content. I found the following plugin, but that only inserts snippets of HTML in certain positions on existing pages. No way to include a full page. PluginLink for others as help.

Thanks for ideas, Chris

Solution:

  • Go to e.g. C:\TeamCity\webapps\ROOT
  • Create folder e.g. static
  • Place file in it (but extension .jsp even if html)
  • Will be served without any problems (on URL/static/test.jsp)

回答1:


It's a Tomcat server, just go on your file system where you installed Teamcity and you should be able to find out where you can park some html that will then be available on the Teamcity urls.



来源:https://stackoverflow.com/questions/12351906/teamcity-to-serve-static-html-page

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!