In order to save some space on your Jenkins instance or if you need to create some backup jobs for multiple environments, you will need to enable shared space between multiple jobs. It’s a quick and easy job in Jenkins but it’s a little bit tricky cause it’s hidden in the first place.
Step 1. Open your desired job and click on
Step 2. Click on the
General section and at the right bottom there is a button
Step 3. Click on the
Advanced... button and it will expand some additional features. Select the
Use custom workspace check button and put the workspace path into the input field:
Step 4. If you need to configure some other jobs to use that path, follow the same procedure from
As I said previously it’s a quick and easy job, so if you find it useful follow our official channel on telegram. If you have some additional questions regarding Jenkins please don’t hesitate to leave a comment below.