When I checked out the Bitbucket repo from Bamboo, I got the following error:
error: refs/remotes/origin/<branch_name> does not point to a valid object!
The branch does not exist anymore. so I can't understand why they are looking the old branch. Also, the files in the previous branch continue to build even thogh I build the current 'master' branch. How can it be solved?
In the plan configuration, go to the step "Source Code Checkout configuration" and check the option "Force Clean Build".
It removes the source directory and checks it out again prior to each build. This may significantly increase build times.
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.