Jenkins Slave Permission Denied while copying slave.jar

前端 未结 5 1577
迷失自我
迷失自我 2021-02-15 12:21

I get a permissions denied but don\'t know why. From my jenkins master I was able to run the following command using ssh-rsa-key

scp /var/cache/jenkins/war/WEB-INF

5条回答
  •  醉梦人生
    2021-02-15 12:58

    If you changed a user to connect to slave, please also make sure slave destination directory is empty (not containing slave.jar copied there by previous user). This is kind of stupid, but costed me a time.

提交回复
热议问题