You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows
Question
Hi,
I use PublishCodeCoverageResultsV1 in Azure Dev Ops Classic editor. I would like to mv the artefact from Code Coverage Report_$(Build.BuildNumber)" to "Reports"
Here is the command line:
mv "$(Build.ArtifactStagingDirectory)/Code Coverage Report_$(Build.BuildNumber)" "$(Build.ArtifactStagingDirectory)/Reports"
But I have this error:
mv: cannot stat 'D:\a\1\a/Code Coverage Report_10499': No such file or directory
From my understanding, the shortcut $(Build.ArtifactStagingDirectory) is where the artifact is supposed to be published.
Where can I find the artefact generated by PublishCodeCoverageResultsV1?
I tried without success in:
ArtifactStagingDirectory
TempDirectory
StagingDirectory
Common.TestResultsDirectory
BuildDirectory
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days
Task name
PublishCodeCoverageResults
Task version
1
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows
Question
Hi,
I use PublishCodeCoverageResultsV1 in Azure Dev Ops Classic editor. I would like to mv the artefact from Code Coverage Report_$(Build.BuildNumber)" to "Reports"
Here is the command line:
mv "$(Build.ArtifactStagingDirectory)/Code Coverage Report_$(Build.BuildNumber)" "$(Build.ArtifactStagingDirectory)/Reports"
But I have this error:
mv: cannot stat 'D:\a\1\a/Code Coverage Report_10499': No such file or directory
From my understanding, the shortcut $(Build.ArtifactStagingDirectory) is where the artifact is supposed to be published.
Where can I find the artefact generated by PublishCodeCoverageResultsV1?
I tried without success in:
ArtifactStagingDirectory
TempDirectory
StagingDirectory
Common.TestResultsDirectory
BuildDirectory
(All variables including Directory in https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml)
Thanks
The text was updated successfully, but these errors were encountered: