teamcity

TeamCity 安装部署( CentOS7.x环境)

妖精的绣舞 提交于 2020-08-11 19:36:18
安装环境要求: DK 1.7 以上,JDK 官网推荐的 1.8 安装包下载: https://www.jetbrains.com/teamcity/download/#section=linux-version 开始安装 : 解压压缩 tar zxf TeamCity-x.x.x.tar.gz 根据个人习惯,把解压缩的目录放在 usr 目录下: mv TeamCity/ /data/TeamCity/ 进入解压目录: cd /data/TeamCity/bin 启动程序 runAll.sh start 停止程序: runAll.sh stop 访问(TeamCity 默认端口是:8111): http://ip:8111/ (访问不了就关闭防火墙或者自己配置nginx) 端口可以更改,位置: vim /data/Teamcity/conf/server.xml 设置向导: 默认直接点击,Proceed 我用的是MYSQL,所以选择MySQL ,点击Proceed 在页面上点击下载驱动 ,配置mysql信息(先要创建一个teamcity数据库),下一步 创建账号 完成 来源: oschina 链接: https://my.oschina.net/liubao425/blog/4277496

get the original branch of ref branch

末鹿安然 提交于 2020-08-10 05:47:49
问题 I'm trying to watch for changes on branches that have merge requests on them and then checkout them. Scenario: developer creates branchX developer creates merge request MergeRequest1 in gitlab for branchX developer pushes to branchX team city watched +:refs/(merge-requests/*)/head and detects a change Actual: team city checks out refs/merge-requests/1/head to local merge-requests/1 What I'm trying to achieve: team city checks out refs/merge-requests/1/head to local branchX How do I get

get the original branch of ref branch

☆樱花仙子☆ 提交于 2020-08-10 05:47:07
问题 I'm trying to watch for changes on branches that have merge requests on them and then checkout them. Scenario: developer creates branchX developer creates merge request MergeRequest1 in gitlab for branchX developer pushes to branchX team city watched +:refs/(merge-requests/*)/head and detects a change Actual: team city checks out refs/merge-requests/1/head to local merge-requests/1 What I'm trying to achieve: team city checks out refs/merge-requests/1/head to local branchX How do I get

Viewing TeamCity service messages

老子叫甜甜 提交于 2020-07-09 08:14:49
问题 I'm troubleshooting a build step in TeamCity 9.0.4. The problem seems to lie within the service message output. Is it possible to view these after the build has completed? They are not included in the build log. The documentation on service messages simply says In order to be processed by TeamCity, they should be printed into a standard output stream of the build . https://confluence.jetbrains.com/display/TCD9/Build+Script+Interaction+with+TeamCity (To some extent the service messages can be

Installing Teamcity build agent as a user: failed to install the service. selected account does not have enough rights

寵の児 提交于 2020-06-24 08:13:55
问题 I want to install a TeamCity BuildAgend as a user. When entering my user credentials here: I always get this error: NOTE: My account (user) is Administrator with full permission! How can I do this? 回答1: The error message says it does not have "enough rights to run as a service" , this is slightly different from just being an administrator. Go to Control Panel> Administrative Tools> Local Security Policy . Select Local Policies> User Rights Assignment . Scroll down through the list of policies

Restore NuGet Package in TeamCity Build and Deploy Step

♀尐吖头ヾ 提交于 2020-06-18 17:18:39
问题 My Build and Deploy step in TeamCity is not successfully executed. It is showing "This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props." Below is the step process log: [Step 1/1] WebApplication2.sln.teamcity: Build target: TeamCity_Generated_Build [22:31:54]

Restore NuGet Package in TeamCity Build and Deploy Step

丶灬走出姿态 提交于 2020-06-18 17:17:41
问题 My Build and Deploy step in TeamCity is not successfully executed. It is showing "This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props." Below is the step process log: [Step 1/1] WebApplication2.sln.teamcity: Build target: TeamCity_Generated_Build [22:31:54]

Restore NuGet Package in TeamCity Build and Deploy Step

巧了我就是萌 提交于 2020-06-18 17:17:09
问题 My Build and Deploy step in TeamCity is not successfully executed. It is showing "This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props." Below is the step process log: [Step 1/1] WebApplication2.sln.teamcity: Build target: TeamCity_Generated_Build [22:31:54]

TeamCity build agent disconnected

落爺英雄遲暮 提交于 2020-06-09 10:57:07
问题 I installed a build agent on Windows 7 and always have the agent show up as "disconnected". The log teamcity-agent.txt shows below information If this is the first time this agent registered on the server make sure it is authorized by administrator in the server web UI. [2012-09-05 02:56:14,416] INFO - jetbrains.buildServer.AGENT - Agent registration finished. [2012-09-05 02:56:14,418] INFO - jetbrains.buildServer.AGENT - Stop command was not performed. No build to stop with reason: