I have recently migrated servers and updated TeamCity to point to the new server/agent. The agent was setup on the new machine and the agent is connected, authorized and enabled within TeamCity. After running a deployment, I noticed from the Build Logs that it skips the 'Publishing internal artifacts' step along with all of the proceeding Build Steps and completes with "Build finished". All of the packages from GitHub are deployed successfully to the Checkout Directory but non of the build steps run. TeamCity is not Publishing internal artifacts (ArtifactsCachePublisher & WebPublisher).
Here is the Build Log from a failed run:
[17:53:31] Starting the build on the agent [new_server]
[17:53:32] Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[17:58:37] Build finished
Here is the Build Log from a successful run:
[16:10:06] Starting the build on the agent [old_server]
[16:10:07] Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[16:10:07] Publishing internal artifacts (4s)
[16:10:11] [Publishing internal artifacts] Publishing 1 file using
[ArtifactsCachePublisher]
[16:10:11] [Publishing internal artifacts] Publishing 1 file using
[WebPublisher]
[16:10:07] Using vcs information from agent file: deployment.xml
[16:10:07] Checkout directory: C:\BuildAgent\work\deployment
[----build steps start to run here----]