java -jar jenkins-cli.jar -s http://your-jenkins-url:8080/ get-job JOB_NAME > job_config.xml Use code with caution. Note: Replace JOB_NAME with the actual name of your job.
> Enter Job Name > Select Freestyle Project (or Pipeline). Configure > Go to the job's configuration page. download jenkins jobs
Method 3: Direct File System Backup (Server Access Required) java -jar jenkins-cli