Introduction
Sometimes you build something in one Jenkins job and want to use the result in another job. Copying artifacts between jobs lets you share files like compiled programs or reports easily.
When you build a software package in one job and want to test it in another job.
When you generate documentation in one job and want to publish it in a separate job.
When you run a build on one server and deploy from another job on a different server.
When you want to separate build and deployment steps into different jobs for clarity.
When you want to keep your pipeline modular by passing files between jobs.