Post-build Deploy - cannot set custom version
Hello,
I would like to have my artifact version (like 1.0.1, 1.0.2) in UCD when the version published from RTC build using post-build deploy. Unfortunately cannot find a way how to setup it. I have tried to change buildLabel using ant task com.ibm.team.build.ant.task.BuildResultPublisherTask (the label is ignored and used the original one - timestamp). Also tried to set system property in gradle (build tool similar to ant or maven) without success.
Accepted answer
Found that the easiest solution will be to use udclient. Here is an example
./udclient --weburl https://some.host.ibm.com/ --username admin --password somePW createVersion --component test -name 1.0.2
./udclient --weburl https://some.host.ibm.com/ --username admin --password somePW --version 1.0.2 --base /some/directory/