Issue
I want to have 1 main repository with some common configurations to be used:
Common
---> jenkinsfile
---> x.json
---> config.json
I would like to have different teams to be able to use that common repo and just create their own repos with their specific additional code:
Team1 repo
sub1/
--->x.json
--->config.json
sub2/
--->x.json
--->config.json
Team2 repo
--->x.json
--->config.json
Is there a possibility to have this centralized Jenkinsfile to be used by the different teams without explicitly putting it in their respective repositories?
thank you.
Solution
That's the exact capabilities Jenkins Shared Libraries gives you.
Blog,
Docs.
Answered By - Ian W
Answer Checked By - Mary Flores (JavaFixing Volunteer)