Archive the artifacts in Jenkins

Your understanding is correct, an artifact in the Jenkins sense is the result of a build – the intended output of the build process.

A common convention is to put the result of a build into a build, target or bin directory.

The Jenkins archiver can use globs (target/*.jar) to easily pick up the right file even if you have a unique name per build.

Leave a Comment