I want to publish my .Net mvc result to local pc where the source is in Git hub

Hello Team,

I am using git hub repository as my source and building the project , my main problem is to publish the build result in to particular folder so that i tried 2 methods one is artifacts and another is command line in building steps the both steps gives me errors can you please help me out

these are the parameters I passed in artifacts  trunk\hdm=> E:\temp\hdmemployee :trunk/hrm  is my git repo and the other is my E:\temp\hdmemployee is my pc location.

these is the error i got

[Publishing artifacts] Failed to publish artifacts: Failed to upload artifact for build with id: 50, error: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
[10:54:19]Failed to publish artifacts: Failed to upload artifact for build with id: 50, error: java.io.IOException: The filename,
directory name, or volume label syntax is incorrect
 
 please help me out,
thanks.
0
1 comment

Hi,

It's important to understand the difference between an artifact from TeamCity's point of view and an artifact of your project. When setting up artifacts, you are setting up artifacts for teamcity to pick up, and have available on the server as artifacts, both for the build itself, but also for other users who might want to download the artifacts from the UI. For this reasons, you cannot specify full paths as destinations of artifacts, they need to be specified as relative paths.

If you need to deploy to specific paths, you need to use a build step or configuration that explicitly deploys to the target. For that, you usually will use either a command line option that runs a script copying the files into its target destination, or use any of the multiple available deployer plugins, either the bundled ones (ftp, ssh, etc) or external ones (such as artifactory).

Hope this helps.


0

Please sign in to leave a comment.