Reputation: 1426
In my TeamCity build config > General Settings > Artifact paths, I have as followed:
%system.teamcity.build.checkoutDir%/build/libs/*.jar => install.zip
%system.teamcity.build.checkoutDir%/build/config => install.zip
%system.teamcity.build.checkoutDir%/build/resources => install.zip
The install.zip
contains the jar and files under config
and resources
folders WITHOUT the folders themselves.
How do I include these directories into install.zip
? Thank you
Upvotes: 3
Views: 1336
Reputation: 3367
You can specify the folder where you want to store inside the .zip:
/build/libs/*.jar => install.zip
/build/config => install.zip!Config
/build/resources => install.zip!resources
The specified .zip will be something like :
./
|_ Config
|_ resources
|_ MyLibrary.jar
|_ MyLib2.jar
Upvotes: 4