Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.


0 votes


Accepted answer

Permanent link
 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/
Ralph Schoon selected this answer as the correct answer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 20 '16, 5:13 p.m.

Question was seen: 1,286 times

Last updated: Jan 20 '16, 6:28 p.m.

Confirmation Cancel Confirm