Is there any document on JBE Ant/Scm commands to checkin and deliver the code back to streams ?
2 answers
All the ANT tasks and the SCM commandline commands that you can also use in builds are described in the online help for your version.
Comments
We are on RTC v4.0.7 and we do not see a 'Post-build Deliver' tab in the Build Defintion editor.
I don't know in which version that was introduced. I was looking at Version 5.x.
You have to configure it, to see it:
Glad this helps you!
thanks for the reply.
I see post deliver option on 4.0.5 as well but does it checkin automatically before deliver or do we need to write scm command for this ?
Thanks
It does not need to check in, because the data is already checked into the repository workspace. It would only need to check in new code, which should not be there.
(You should also never check in binaries, my opinion at least.)
So it basically does a deliver of the differences of the repository workspace and the stream to deliver to.
Think of the stream it delivers to being one that only contains source that built and tested as good. So only good builds go through.
If you look for something like that https://jazz.net/library/article/807 you would keep the whole build workspace.
If you want to checkin stuff that is generated during the build - which I believe you shouldn't, remember, you would have to use the SCM command line.
thanks for more details.
I don't want to check in binaries,but I do check in and give some comment to the change set before deliver to the stream when I do manually. how do we do this with build automation.
Thanks
You check in to your repository workspace as usual and deliver to the stream. The JBE builds a repository workspace flowing to that stream and accepts the incoming change sets. The build can deliver to another stream if you want to.
The build DOES NOT CHECK IN anything.
so,how does it work if I schedule a build?Do I need to manually check in and deliver before it runs?
Thanks