Closed SimonGourdeau closed 4 years ago
As I remember you can already pass a commit hash as the reference. I remember at least one use case as such. I'll check and let you know.
It's very nice if it's already supported, but I couldn't figure out how to do it from the documentation 😄
@ozangunalp Have you had a chance to look at this? :)
I checked it :) You can pass a commit hash as the reference branch. The doc inaccurately defines option referenceBranch
as 'To' end of branch comparison. Branch name or refspec
.
Did you tested it yourself ?
In our CI pipeline, we need to be able to perform a partial build based on the latest successful pipeline. Using a branch HEAD as reference decreases the gains of the partial build as the two diverge more and more over time. Let me know how it looks!