The promotion has 1 repository defined on it (inherited and shared from the root configuration). The URL is parameterized and passed in by the build being promoted, and since it is the same repository definition as the original configuration it is desired that the original revision number is checked out.
Multiple configurations use this same promotion. We are finding that if the previous run of the promotion configuration was promoted from a different configuration and with a different repository URL, if the repository containing the URL to be checked on the current promotion does not have a revision as high as the revision checked out on the last run of the configuration (different URL/potentially different repository), the checkout step will fail with following error:
Failed to run command: "C:\Program Files\TortoiseSVN\bin\svn.exe" log https://myrepo/svn/MiscJavaWebApps/MyApp/branches/mybranch/ --non-interactive --trust-server-cert -v --xml -r 4429:18071
Command return code: 1
Command error output: svn: E175002: Unexpected HTTP status 500 'Internal Server Error' on '/svn/MiscJavaWebApps/!svn/rvr/4429/MyApp/branches/mybranch'
svn: E160006: Additional errors:
svn: E160006: No such revision 18071
In this scenario, the previous run of this promotion was from a different configuration and the revision of the URL checked out on that run was 18071. The repository this run is attempting to checkout does not have a revision this high.
We have turned off the 'Record SCM Changes' option but that did not resolve the issue. Is there an issue with the way we have this configured?
Thanks,
Mike Cordeiro