teamcity-9.1

TeamCity with npm - Error: ENOENT, stat 'C:\Windows\system32\config\systemprofile\AppData\Roaming\npm'

喜夏-厌秋 提交于 2019-12-22 07:04:39
问题 I'm having serious problems getting the last pieces of my TeamCity configuration in place. I have a powershell step that executes the following commands: & npm install & grunt build logging the following output: Build (Powershell) (1s) [13:18:08]PowerShell Executable: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe [13:18:08]Working directory: C:\BuildAgent\work\6a434ee5d01fd0d9 [13:18:08]PowerShell arguments: [-NonInteractive, -ExecutionPolicy, ByPass, -File, C:\BuildAgent\temp

Database Deployment - An error occurred during deployment plan generation. Deployment cannot continue

余生颓废 提交于 2019-12-13 16:18:01
问题 I wondered if someone could perhaps help save my sanity by telling me what I'm missing here. The background first. We have 5 database projects in TC, each with a build step and then a deploy step. 4 out of these 5 projects build and deploy perfectly. The 5th however build ok but then raises the following error during deployment to the its SQL Server; "*** An error occurred during deployment plan generation. Deployment cannot continue." The Element or Annotation class

File Content Replacer having no effect on artifacts

本秂侑毒 提交于 2019-12-10 23:33:00
问题 I'm using a relatively new feature of TeamCity: File Content Replacer. In my current setup I have a version.js file in my VCS: window["MyPlugin"].version = "1.0.##VCS_REVISION##.##CI_BUILD_NUMBER##"; I use the File Content Replacer build feature to replace that last part with: %build.vcs.number%.%system.build.number% So far so good! I have one relevant build step. It's an MSBuild step, but it does nothing except call a ps1 , which does two relevant things: Moves all js files to an " output "