“Using Jenkins agents with docker”的版本间的差异
跳到导航
跳到搜索
(创建页面,内容为“== ** Generating an SSH key pair ==…”) |
|||
第2行: | 第2行: | ||
ssh-keygen -t dsa -f ~/.ssh/jenkins_agent_key | ssh-keygen -t dsa -f ~/.ssh/jenkins_agent_key | ||
− | ==*** | + | ==*** Create a Jenkins SSH credential == |
<pre> | <pre> | ||
Go to your Jenkins dashboard; | Go to your Jenkins dashboard; |
2021年8月5日 (四) 11:46的版本
** Generating an SSH key pair
ssh-keygen -t dsa -f ~/.ssh/jenkins_agent_key ==*** Create a Jenkins SSH credential ==
Go to your Jenkins dashboard; Go to Manage Jenkins option in main menu and click on credentials button; select the drop option Add Credentials from the global item; Fill the form: Kind: SSH Username with private key; id: jenkins description: The jenkins ssh key username: jenkins Private Key: select Enter directly and press the Add button to insert your private key from ~/.ssh/jenkins_agent_key Passphrase: fill your passphrase used to generate the SSH key pair and then press OK