Hello,
Is there an option to force child plan to get the latest revision from svn? I am checking code in parent plan and want child plan to get the latest from svn.
Thanks
Options given below do not work. And I couldn't find any other way to make this work.
Based on my experience, having a build plan commit to the repository is almost always a reciipe for trouble, and something that I rarely, if ever, allow anyone to request in the build system I manage. If there is any way to avoid making commits during a build, I would urge you to do so.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree with you. This is a custom solution for one project and I am unable to find any other way at this time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to trick Bamboo into thinking these plans use different repositories - for example, by using IP instead of the host name as repository address in the child plan. Or you could specify the port number explicitely in one of the plans:
plan1: svn.host.com/repo/path
plan2: svn.host.com:80/repo/path
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried the options but it is not working. It is still checking out the old revision
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which Bamboo version is that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. I only see following line
Updated source code to revision: <same revision number as parent>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you get the line: "Detected that parent plan XXX using the same source. Updating to" in the build log?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Depending on your use case, maybe adding a script task set to "inline script" that does svn up would do the trick?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to make sure: what do you mean by child and parent plans? You have two jobs in separate plans linked together with plan dependencies?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is correct. I have 2 seperate plans linked via dependency.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.