Thanks - that was the missing bit of magic.

On Tue, May 28, 2024 at 4:22 PM 'Jesse Glick' via Jenkins Developers <
[email protected]> wrote:

> On Tue, May 28, 2024 at 8:45 AM Berend D. <[email protected]> wrote:
>
>> From my understanding, if the SCMFile::content() function returns a
>> FileNotFoundException, should this not prevent the creation of the branch
>> job?
>>
>
> No, by that point the branch project has already been created and now
> Jenkins is trying to run a build.
>
> For GitHub for example,
> https://github.com/jenkinsci/github-branch-source-plugin/blob/5b0c0cea18c351352f2d33ad2491d148bb38a447/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMProbe.java#L162
> is where branches without `Jenkinsfile` (or whatever criteria have been
> configured for the multibranch project) would be excluded.
>
> --
> 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/CANfRfr1fnWPo%2BUDv-vyebbz0phchj0N8w-%3DLrNpOfMKmDP%3DEYg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1fnWPo%2BUDv-vyebbz0phchj0N8w-%3DLrNpOfMKmDP%3DEYg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAJBx0EPMOvJix580xh20gOk_i-muPZ10CyiDR%2BkofszKsQjYrA%40mail.gmail.com.

Reply via email to