Hi there,

I'm trying to implement a *branch-source* style plugin and I'm a bit lost
about the SCMFileSystem implementation and its connection with the
`getTrustedRevision` from AbstractGitSCMSource. In my understanding
getTrustedRevision should return a revision according to the implemented
authorities. This revision is then passed to the SCMFileSystem.build().

In this method, I recieve two things; a head and a revision:

* Which one should I build upon ? Is it the revision or the head ? Or both
depending on the context ?
* More importantly, I've seen that the revision can be null. In which cases
is this possible ? How can I end up with an empty revision ?

Thanks in advance,
Martin

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CA%2Bb6JB_wkL00dO8jcwM1cFj-CkSheFhu5MB8K59XU30PsrbFNg%40mail.gmail.com.

Reply via email to