# Jenkinsfile-runner: How does artifacts work?

**URL:** <https://community.jenkins.io/t/jenkinsfile-runner-how-does-artifacts-work/871>\
**Category:** Jenkinsfile Runner\
**Created:** [November 24, 2021, 11:30am UTC](https://community.jenkins.io/t/jenkinsfile-runner-how-does-artifacts-work/871 "2021-11-24T11:30:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdupont](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/cdupont/32/599_2.png) [@cdupont](https://community.jenkins.io/u/cdupont)\
**Post date:** [November 24, 2021, 11:30am UTC](https://community.jenkins.io/t/jenkinsfile-runner-how-does-artifacts-work/871/1 "2021-11-24T11:30:16Z")

</div>

Hello,  
I’m wondering how artifacts work when using Jenkinsfile runner.  
Where do they go if I use archiveArtifacts? For instance:

`archiveArtifacts artifacts: 'deploy/*', fingerprint: true`

How to use copyArtifacts?

`copyArtifacts projectName: 'MySourceProject'`

Thanks
