Hello, I have a Pipeline with 2 stages and one job each. Stage 1 executes for each agent in the environment and produce non-conflicting uniquely identifiable data that I must pass on to Stage 2 so it can be processed altogether. Each agent has a different set of resources, but they all contain the subset of resources the pipeline requires.
In my first Stage, I save my artifacts from "data/*" to the destination "data/", and I can confirm this is working because I can check the artifacts for each individual agent after the Stage completes. The problem is retrieving this data in the next Stage, I am using a Fetch Artifact task with the Source field configured as "data/" because that's the destination directory in the previous Stage, but when I run the Pipeline, I am having the following error in the agent (I edited out sensitive information): [go] Could not fetch artifact <my server>/go/remoting/files/<my pipeline>/8/build/latest/<my first stage>/data.zip. Pausing 10 seconds to retry. Error was : Unsuccessful response '404' from the server [go] Could not fetch artifact <my server>/go/remoting/files/<my pipeline>/8/build/latest/<my first stage>/data.zip. Pausing 27 seconds to retry. Error was : Unsuccessful response '404' from the server [go] Could not fetch artifact <my server>/go/remoting/files/<my pipeline>/8/build/latest/<my first stage>/data.zip. Pausing 38 seconds to retry. Error was : Unsuccessful response '404' from the server [go] Failed to save artifact [data] to [data/] Before opening this as an issue in GitHub, I wanted to know if I am misinterpreting the concept of artifacts in gocd because it seemed to me that artifacts were "global". Am I limited to fetch data only from respective agents in each stage? If so how to solve the issue? The Go server version is 18.7.0 (7121-75d1247f58ab8bcde3c5b43392a87347979f82c5) and the JVM version is 1.8.0_171. Thank you -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
