Jenkins+git continuous integration construction

1.jenkins install git plugin

 

 

2.jenkins add git global credentials

 

 

 

 

 

3. Choose the form of ssh username and private key

 

 

 

4. git key generation method

Command: 1.ssh-keygen -t rsa

    2.cat /c/Users/Administrator/.ssh/id_rsa.pub (key directory)

 

 

5. Build the project (free style)

 

 

 

 

 

Guess you like

Origin blog.csdn.net/cvbnjmkl/article/details/108781028