-
Switch to jenkins OS user, then copy $JOB_NAME/config.xml to /var/lib/jenkins/jobs/$JOB_NAME/config.xml
-
Restart Jenkins, or reload Jenkins configuration from GUI
cd /Users/mac/baidu/*/private_data/project/devops_consultant/consultant_code/devops_public/jenkins_scripts
find . -name "*.sh" | xargs sed -i "" "s/3171657063/3329473667/g"
find . -name "*.sh" | xargs grep "bash /var/lib/devops/refresh_common_library.sh"