Skip to content
Advertisement

saving build data only in slave node Jenkins

I set up slave node in Jenkins. However when I am running job in slave node, I realized that build data, workspace and log information are still save in master node(Jenkins server). Is there a way to save this data in slave node instead of master node?

Advertisement

Answer

The job workspace is not saved to the master, unless you mark the entire workspace as an artifact – or you’re using the Copy to Slave Plugin. Build data, console log, test results and any artifacts are indeed saved on the master. That is the general design of Jenkins; it really can’t be changed. Part of the reasoning is that the master is expected to be always on, but the slaves may come and go. If the data is stored on slave that’s not on, it’s effectively lost.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement