I have a question about How to create CODEOWNERS File using jenkins script under Workspace.
I was using this code to try to create CODEOWNERS file under Workspace directly.
fp = new FilePath(build.workspace, 'CODEOWNERS')
but it doesnt work
and the same question
Can I use
def String baseDir = "CODEOWNERS"
def dateien = findFiles(glob: baseDir)
becauese codeowners file has no type..
any solutions