Publishing more artifacts from different directories as one compressed (zip) package
Answered
Hello,
is it possible to publish several artifacts from different directories as one archive (ZIP package) per build configuration?
Thanks.
Regards, Gabriel
Please sign in to leave a comment.
There are three options to configure here.
1. A copy Build Step
1.1. Configure the last Build Step to make copies of all artifacts you need into some subdirectory, e.g. subdir1.
1.2. Configure Project Settings | General | Artifact paths as
2. A try of Example in Configuring General Settings
2.1. Configure Project Settings | General | Artifact paths as
However, it may not work as expected since there is related issue in our tracker: Artifact is published once in archive while specified twice in Artifact paths
3.1. Specify all artifact paths in Project Settings | General | Artifact paths
3.2. Get them as one archive from View | Artifacts | Download all (.zip) or through http://<teamcity.server>/repository/downloadAll/<YourBuildConfigurationId>/<BuildNumber>/artifacts.zip
Please let me know if any of these options suits you.
Hello Marina,
thanks for the hints, the option 2 is that what I was looking for, somehow I missed the last example in the docu, my fault :-(
Thanks once again.
Regards, Gabriel.