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.
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.
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:
Comments
Jeff Care
May 07 '14, 9:57 a.m.Why would you want to add build results to source control?
Kevin Ramer
May 07 '14, 10:07 a.m.If I had the proverbial nickel.... You'd be surprised at the prevalence of this idea.
Shuchita Tripathi
May 08 '14, 12:42 a.m.Its the first time i am getting introduced to the concept of build, so just wanted to give a try.