Exemplo n.º 1
0
        private void CopyFileToArtifacts(AbsolutePath fullFileName)
        {
            var fileName = Path.GetFileName(fullFileName);

            if (string.IsNullOrEmpty(fileName))
            {
                return;
            }

            var targetFile = Path.Combine(BuildInfo.ArtifactsDirectory, fileName);

            FileSystemTasks.CopyFile(fullFileName, targetFile, FileExistsPolicy.Overwrite);
        }