一千萬個為什麽

搜索

Jenkins,Jenkins SSH插件,EC2,“ubuntu”用戶和“www-data”



I am trying to install Jenkins to achieve a Github -> EC2 instance folder pipeline. So far everything works well when I target an empty folder... however, when I target my production folder owned by www-data the SSH copy of the files fail for permission, as Jenkins uses the ubuntu user, the only one I have an SSH login for.

我該如何解決這個問題?

轉載註明原文: Jenkins,Jenkins SSH插件,EC2,“ubuntu”用戶和“www-data”

一共有 1 個回答:

ssh插件為您提供了兩種選擇, 將構建工件發送到遠程服務器或在遠程服務器上運行命令。 插件的名稱是“通過ssh發送構建工件”..使用它