Score:0

Jenkins remote build agent build and return artifact to master?

cn flag

I currently have a master node (Linux host) set up, which is not defaulting to do any building, and a remote build node (Linux host) set up that performs builds. My artifacts are building on the remote node and end up in /var/lib/jenkins/workspace/<job_name>. How can I retrieve the build artifacts and bring back to the master server? What's the best way to accomplish this? I've read somewhere that this is the way to do it, but am unsure how to go about doing it. Can someone explain or point me in the right direction? Thanks.

ba flag
That's exactly what [Archive Atrifacts](https://stackoverflow.com/a/64291825/598141) does. It [stores them](https://www.jenkins.io/doc/pipeline/steps/core/) in a directory with the build logs. Retrieve later using [copyartifact](https://plugins.jenkins.io/copyartifact/) plugin. Delete the build, lose the artifacts for that build.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.