Details
Description
This bug only concerns DSCMs like hg or GIT.
Currently the release:perform fails when the project which should be released is not in the outermost directory of the SCM repository and the localCheckout feature is enabled. In this case we just do a file:// checkout from the current directory. But if the project being released is not in the outermost directory, then the present working directory doesn't contain a GIT repo but some parent directory does.
This is related to MRELEASE-501.
Issue Links
- is duplicated by
-
MRELEASE-754
Git clone fails during perform when using localCheckout
-
- is related to
-
MRELEASE-727
release plugin uses wrong checkout directory
-
-
MRELEASE-501
create the possibility for performing a local checkout instead a clean checkout from the upstream repository for DSCMs
-
- supercedes
-
MRELEASE-702
Could not release project due to GIT clone error when working in sub-directory
-
fixed in r1245806.
we now move up to the parent directories if the local checkout fails - until we hit the root or the checkout succeeds.