Jenkins multiple artifacts for the same build

前端 未结 5 951
误落风尘
误落风尘 2021-01-31 13:33

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

5条回答
  •  暖寄归人
    2021-01-31 14:08

    No, jenkins does not provide only one artifact to save. You can use wild card pattern to same any number of artifacts, For example All Jars - **/*.jar All War - **/*.war and so on.

    **/ means Any directory.

提交回复
热议问题