Gitea + remote-file-plugin

Hello,

I have a problem getting Gitea organisation plugin working with remote jenkins file plugin

I have a gitea organisation which repositories I want to auto-build and auto-deploy to prod when something is merged to master branch. I want all other branches to be deployed to a test host.
I also don’t want everyone to be able to modify Jenkinsfile.

So I’ve made a repository in this organisation called “JenkinsFiles” and commited into it a file “Puukkit/Jenkinsfile”

This triggered ALL projects to start build processes and fail… which is something I probably should report on some bugtracker.

However, now the issue is that in my understanding this should cause Puukkit project to be built using said Jenkinsfile from the remote repository.

This is not happening and I get this log:

Started by user UNuX
Checking out git https://git.smiesznadomena.pl/PuuCraft/JenkinsFiles.git into /var/jenkins_home/workspace/PuuCraft_Puukkit_master@script/11601e1bb168cdd33ba4cf35243af16b712ab27d630bdc5aac643f2c5b2895ca to read Jenkinsfile
The recommended git tool is: NONE
using credential jenkins-gitea-token
Cloning the remote Git repository
Cloning repository https://git.smiesznadomena.pl/PuuCraft/JenkinsFiles.git
 > /usr/bin/git init /var/jenkins_home/workspace/PuuCraft_Puukkit_master@script/11601e1bb168cdd33ba4cf35243af16b712ab27d630bdc5aac643f2c5b2895ca # timeout=10
Fetching upstream changes from https://git.smiesznadomena.pl/PuuCraft/JenkinsFiles.git
 > /usr/bin/git --version # timeout=10
 > git --version # 'git version 2.38.4'
using GIT_ASKPASS to set credentials 
 > /usr/bin/git fetch --tags --force --progress -- https://git.smiesznadomena.pl/PuuCraft/JenkinsFiles.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > /usr/bin/git config remote.origin.url https://git.smiesznadomena.pl/PuuCraft/JenkinsFiles.git # timeout=10
 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision bbe372f1c4612223edf2333e2b4ae0887200a91a (refs/remotes/origin/master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f bbe372f1c4612223edf2333e2b4ae0887200a91a # timeout=10
Commit message: "first commit"
First time build. Skipping changelog.
ERROR: /var/jenkins_home/workspace/PuuCraft_Puukkit_master@script/11601e1bb168cdd33ba4cf35243af16b712ab27d630bdc5aac643f2c5b2895ca/Jenkinsfile not found
Finished: FAILURE

What am I doing wrong?