I am looking for possible solutions for maintaining Jenkins jobs and plugins configuration in Git. My motivation is easy (perhaps automated) backup of changes made on the Jenkins instance as well as a fast recovery in case I need to revert to a previous version of the configuration. (Or possibly set up a new Jenkins instance.)
I came across SCM Sync configuration plugin and Jenkins Job Builder and having a hard time figuring whether these solutions are suitable for me and what are the differences between them.
Any information to help me determine the differences and choose the appropriate fit for my needs?
Jenkinsfile
method. – MarkHu