Jenkins dense configuration of gitlab free Log
Reference
https://www.jianshu.com/p/1485a22f99b4
infringement delete
the home network is not good, their first move something simple record it, and then follow the virtual machine test
Jenkins-free configuration of GitLab SSH login close
- Interactive Jenkins into the container
docker exec -it jenkins /bin/bash
- Into the vessel, generating SSH KEY
ssh-keygen -t rsa -C "[email protected]"
- View Public Key
cat /var/jenkins_home/.ssh/id_rsa.pub
- Copy the public key to GitLab
to copy the key to the ssh configuration of local gitlab
Under cd path, a clone file manually , the main effect of this step is to generate and verify the information server
Publish over SSH configuration
配置
-> 系统配置
-> Publish over SSH
gitLab create a label for the project
Create a label for the project in GitLab
jenkins create Maven Project
Creating a Maven-based tasks Jenkins in
reference b station video https://www.bilibili.com/video/av54208509?p=34