I run a Jenkins pipeline which executes jobs on a (always the same) virtual machine using agent.jar.
These jobs produce artifacts on the VM-workspace directory and these files are successfully transferred to Jenkins.
Now I want the pipeline to retrieve data from that VM-workspace too.
How can I configure the "archiveArtifacts to access my VM?
this works for me: In the job config activate "Permission to Copy Artifact" "Projects to allow copy artifacts" : *
In the job config, Post build actions, Archive the artifacts, Files to archive: result.html
In the pipeline script: