Explain how to create a backup and copy files in jenkins?
Answer Posted / Akhilesh Kumar Awasthi
To create a backup and copy files in Jenkins, you can use the Copy Artifact plugin. Here are the steps:n1. Install the Copy Artifact plugin.n2. In the build configuration of your project, go to 'Post-build Actions'.n3. Select 'Add post-build action' and choose 'Copy artifacts'n4. In the 'Advanced mode', select the project whose artifacts you want to copy as 'Source projects' and specify the files you want to copy under 'Files to copy'.n5. Save your changes and trigger a build.nFor backing up files, you can create a separate job that copies the required artifacts and archives them.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category