Regarding artifact storage, Jenkins will keep its copies with the job history, always in its master node.
For a job configured on Jenkins' root, the archive is located on the following folder $JENKINS_HOME/jobs/<your_job_name>/builds/<build_number>/archive
.
On that folder, the file will be kept in the same relative path as it had on the workspace. For example, if during the pipeline the artifact was available in $WORKSPACE/outputs/mybinaryfile
, in the jenkins master node it will be available in $JENKINS_HOME/jobs/<your_job_name>/builds/<build_number>/archive/outputs/mybinaryfile
Now, regarding the configuration on the artifact deployer plugin, I believe that the path in 'Artifacts to deploy' is probably wrong. /*.tar
will look for tar files on the root of the filesystem (/)
If what you want is to archive all tar files on the folder where the jenkins pipeline is executed (the workspace), you can refer to that using the $WORKSPACE environment variable or by prepending a dot (.
) to your current path
Both $WORKSPACE/*.tar
./*.tar
should work