1. install jenkins in new computer
  2. run
  3. rm -rf .jenkins/jobs/*/workspace
  4. rm -rf .jenkins/jobs/*/builds
  5. tar -zcvf .jenkins
  6. transfer to new server and override the new .jenkins

tips: the user who run the jenkins must have enough privileges;