1.推送代码进gitlab
yum -y install git git clone http://192.168.1.45/root/devops-java-sample.git cd devops-java-sample/ vi fuck.txt git add . git commit -m "Add initial Jenkins" git config --global user.email "1@example.com" git config --global user.name "root" git commit -m "Add initial Jenkin1111s" git push -u origin master