Artifacts not generated Follow
I have several projects that generate artifacts and some that don't. I don't see any difference in the configurations other than the paths.
Here are two artifact paths.
This one generates artifacts:
RawMaterialsInspection\bin\** => rmi-%system.build.number%.zip
This one doesn't:
HeatTreatLog\bin\** => htl-%system.build.number%.zip
What am I missing?
Please sign in to leave a comment.
*Face palm*
I figured this out. The artifacts path was incorrect.
Hi ,
My issue is Artifacts are not generated for success build for few times, saying that the path is not found.
Here I added detailed steps. Please have a look and help me to get the artifacts every time for success builds.
We are using TeamCity Enterprise 2017.1.2 for CI and CD for .Net applications and we have 2 build agents.
Default Artifact directories is: system\artifacts
1.Artifacts generated successfully: build is published and deployed to QA environment successful.
We have option in TeamCity like Artifacts path at build level where i have mentioned path like below.
GHY.GK.Wcf\DeploymentResources\_PublishedWebsitesGHY.GK.Wcf_Package => Services_Package
GHY.GK.Web\DeploymentResources\_PublishedWebsites\GHY.GK.Web_Package => Web_Package
Artifacts generated successful with below message:
[Publishing artifacts] Collecting files to publish: [GHY.GK.Wcf/DeploymentResources/_PublishedWebsites/GHY.GK.Wcf/_Package => Services_Package, GHY.GK.Web\DeploymentResources\_PublishedWebsites\GHY.GK.Web_Package => Web_Package]Artifacts generated successfully: The artifacts path is at individual build
[12:41:02][Publishing artifacts] Publishing 5 files using [ArtifactsCachePublisher]: GHY.GK.Wcf/DeploymentResources/_PublishedWebsites/GHY.GK.Wcf_Package => Services_Package
[12:41:02][Publishing artifacts] Publishing 5 files using [WebPublisher]: GHY.GK.Wcf/DeploymentResources/_PublishedWebsites/GHY.GK.Wcf_Package => Services_Package
[12:41:03][Publishing artifacts] Publishing 5 files using [ArtifactsCachePublisher]: GHY.GK.Web/DeploymentResources/_PublishedWebsites/GHY.GK.Web_Package => Web_Package
[12:41:03][Publishing artifacts] Publishing 5 files using [WebPublisher]: GHY.GK.Web/DeploymentResources/_PublishedWebsites/GHY.GK.Web_Package => Web_Package
2. Artifacts are not generated for few times for the same build and Artifacts path is same like above.
Error Message below : Saying that path is not found.
[Publishing artifacts] Artifacts path 'GHY.GK.Wcf/DeploymentResources/_PublishedWebsites/GHY.GK.Wcf/_Package' not found
[Publishing artifacts] Artifacts path 'GHY.GK.Web/DeploymentResources/_PublishedWebsites/GHY.GK.Web/_Package' not found
Please help me on this.