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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.