Jenkins multiple artifacts for the same build

前端 未结 5 943
误落风尘
误落风尘 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 13:52

    You can comma separate the paths, like this:

    XXX.UnitTests\bin\Release\**.* , XXX.WriteAPI.Service/bin/Release/**.*
    

    Then you get two separate artifacts.

    See http://ant.apache.org/manual/Types/fileset.html for details of the Ant Pattern syntax.

提交回复
热议问题