How to update the code to the server in a safe, rigorous and compliant manner?

WBOY
Release: 2016-08-25 10:37:13
Original
1379 people have browsed it

I have never been to a large company such as BAT. I don’t know how to update the code when a large team collaborates. The companies I have worked for generally use the following methods:

<code>
1.我把更新代码打包给项目经理,项目经理部署到他的环境测试通过后,他用ftp更新到服务器.

2.git上有两个分支,一个是测试分支,一个是主分支, 我们编码完成后把代码更新到测试分支,项目经理pull到他的环境,测试通过后合并到主分支中.

3.我自己打包覆盖到服务器.    

   </code>
Copy after login
Copy after login

What I want to ask is how to develop a safe, rigorous and standardized process and select the software to match it

Reply content:

I have never been to a large company such as BAT. I don’t know how to update the code when a large team collaborates. The companies I have worked for generally use the following methods:

<code>
1.我把更新代码打包给项目经理,项目经理部署到他的环境测试通过后,他用ftp更新到服务器.

2.git上有两个分支,一个是测试分支,一个是主分支, 我们编码完成后把代码更新到测试分支,项目经理pull到他的环境,测试通过后合并到主分支中.

3.我自己打包覆盖到服务器.    

   </code>
Copy after login
Copy after login

What I want to ask is how to develop a safe, rigorous and standardized process and select the software to match it

You can use project management tools such as jenkins.

Automated tools and manual packaging are really unsafe. I just tried putting the test environment online last week, which was really exciting. . .

I haven’t been to BAT either, but I use 2.

I feel that the title and description are not quite consistent...
If that is what the title means, you can look at the related content of git hooks. Automatic deployment to the test environment can be achieved using git hooks.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!