By default, using the "rerun failed/incomplete jobs" feature always checks out the same revision from git repository.
Is it possible to rerun the build but pull the current HEAD of a branch?
Feature request https://jira.atlassian.com/browse/BAM-12600
Use Script task to update the repository first
That's what I've been doing so far, but it means that I have to reconfigure the whole plan, when I'm testing my branch - and I have to reconfigure it back once I'm done. And of course in mid-time, nobody else can use the plan whatsoever.
Are there any other workarounds? Or did you come up with some way of introducing the additional checkout only for my branch plan?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No other workaround. Source Code Checkout task will only perform checkout on the revision from the time of original trigger.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As mentioned by u, can u provide me the Script task to update the repository or link or guide for the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.