-
Suggestion
-
Resolution: Unresolved
-
None
-
0
-
4
-
Problem Definition
When multiple Artifact Handlers are configured, and one fails, the consuming build or deployment will fail.
Examples of why this could occur include:
- producing and consuming jobs running on different agents
- the communication with S3 timing out
Suggested Solution
Iterate through the Handlers on failure.
Why this is important
Some systems have multiple handlers configured globally, but the build or deployment fails after the first artifact download failure.
Workaround
Remove the failing Handler from the handler configuration. Configuration can be set at the Global or Plan level.
If you'd like to use the Agent-local handler, this works well if all the jobs that produce or consume the same artifact run on one agent. This can be achieved using agent dedication or capabilities and requirements.