Setting up jenkins on centos: problems with ssh keys and git

后端 未结 8 1424
忘掉有多难
忘掉有多难 2021-02-15 16:46

Went through a lot of questions, but nothing seems to be solving my issue. Or to be more precise I am not sure if I am doing the whole thing correctly. So here it is:

Ha

8条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-15 17:16

    In order to login as "jenkins" user, maybe you could try this:

    sudo -s -H -u jenkins
    

    And try to invoke:

    bash-4.1$ whoami
    jenkins
    

    Hope it helps.

提交回复
热议问题