Command delete-builds
java -jar jenkins-cli.jar -s https://jenkins.te.baibaodun.com.cn/jenkins/ -http delete-builds JOB RANGE
Delete build records of a specified job, possibly in a bulk.
JOB : Name of the job to build RANGE : Range of the build records to delete. 'N-M', 'N,M', or 'N'