I have a use case where I would need to ensure that an agent picks up metadata changes made over the course of one build so that it has those changes before the next build is processed:
- Build is requested
- Pipeline runs build on appropriate agent.
- Build modifies the agent’s metadata tags by updating the file in which they are stored.
- Agent is restarted at the completion of the (successful) build, to ensure that the updated metadata is in
effect for subsequent builds.
Is there some clean way of doing this sort of thing? I kind of feel like it might not be but wanted to ask here in case I’m wrong about that.