Is there a way to save/archive multiple artifacts from the same build?
Jenkins only allows a single 'Archive the Artifacts' post build step, and grey's out the option after it has been used once.
Maybe the ArtifactsArchiver
's allows multiple patterns?
Best Answer
You can use Ant-style pattern, e.g.
target/*.jar
to archive multiple artifacts.And it is possible to use a comma separated list of patterns if your files can't be matched with one pattern, e.g.
target/*.jar, target/*.war
.The ? button next to the input field reveals this info.