Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JENKINS-12829: A failed update sets revision of build to 000000+
The mercurial plugin ensures that a failed clone operation throws the corresponding exception, but that's not the case if the subsequent update fails: no check is done of the return code of the hg update command. The effect is that the revision of the build is set to 000000+, which causes a huge change log calculation in the next build, as basically the calculated log includes all thechange setss in the history of the repo.
- Loading branch information
1 parent
3de2da5
commit b1a2f84
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters