简体   繁体   English

从 Jenkins 运行 Laravel Envoy

[英]Running Laravel Envoy from Jenkins

I have a deployment script running from Envoy on a Laravel project.我有一个在 Laravel 项目上从 Envoy 运行的部署脚本。 The script is a heavily modified version of https://github.com/nickfan/envoy-deployscript .该脚本是https://github.com/nickfan/envoy-deployscript的大量修改版本。

Deployments are run locally to multiple servers and Envoy handles this well.部署在本地运行到多个服务器,Envoy 很好地处理了这一点。 However, I have been asked to move deployments over to Jenkins.但是,我被要求将部署转移到 Jenkins。

Can I run the Envoy script from Jenkins or should I concentrate on rewriting the entire release deployment script?我可以从 Jenkins 运行 Envoy 脚本还是应该专注于重写整个发布部署脚本?

Any wisdom is welcome.欢迎任何智慧。

如果将 envoy 命令添加到“Build”下的“Execute shell”,您将能够在 Jenkins 上运行 envoy 脚本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM