0 votes
ago in Technology by (321k points)
What is Artifact Archival & how to do it in Pipelines?

1 Answer

0 votes
ago by (321k points)

Artifacts are the exportable/storable/archivable results of a specific job build. This can be configured using a plugin called - Copy artifact Plugin. Based on the configured pattern, the files/directories matching the configured patterns will be archived for a Jenkins build, which can be used for future references. In the pipeline, it can be configured as follows -

archiveArtifacts artifacts: 'output/**/*'

...