We have the build system, which builds a lot of components. Built components publish their artifacts by ivy in artifactory.
I want to attach an extra meta-artifact to each component during its publication, but transparently for developers. This meta-artifact will contain the information about build-agent, build-log, changelog, etc. I have access to build agents, so I can:
- change some ivy configuration files on build agents
- install a customized ivy with a patch on build agents
- modify the ivysettings.xml file
I didn’t find any information in ivy documentation. However, I know that there are methods like “options.getExtraArtifacts()” in the ivy source code, so I guess there is a way.
Waiting for your suggestions.
Thanks in advance!
UPD: I figured out “options.getExtraArtifacts()” serve an "artifact" subtag in a "publish" tag: https://ant.apache.org/ivy/history/2.4.0/use/publish.html