How to load output files of build to RTC SCM?
I am a beginner in Build Management of RTC.
I am trying to generate a .jar file using Ant script and then load in the Stream.
I am using Post-build Deliver target, however the .jar file is not getting loaded in the Stream.
Can anyone guide me how to achieve this?
I am not getting any basic guide with complete steps to learn build management of RTC.
|
Accepted answer
Post Build deliver, delivers the SOURCE used in the build to some other stream/workspace. it does not ADD new content to the stream/workspace.
build output binaries should not go into the SCM. they should go into some binary repository, Nexus, Artifactory, shared file system, ftp server... this way the downstream applications that use (depend) on the binaries (libraries/jar files) can access them by version etc without knowing the original source required to create them. Shuchita Tripathi selected this answer as the correct answer
|
One other answer
For delivering changes back to the source stream, you should use the SCM CLI.
See e.g. this article and these enhancement requests:
|
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.
Comments
Why would you want to add build results to source control?
If I had the proverbial nickel.... You'd be surprised at the prevalence of this idea.
Its the first time i am getting introduced to the concept of build, so just wanted to give a try.