On Tue, May 28, 2024 at 8:45 AM Berend D. <cyberwizz...@gmail.com> 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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1fnWPo%2BUDv-vyebbz0phchj0N8w-%3DLrNpOfMKmDP%3DEYg%40mail.gmail.com.

Reply via email to