Skip to content
| Marketplace
Sign in
Visual Studio>Tools>AntDeploy

AntDeploy

yuzd

|
4,632 installs
| (4) | Free
Tools to deploy applications to remote server(iis,windowsService,docker) support netframwork and dotnetcore,support rollback and increment deploy

vs2022的版本

https://marketplace.visualstudio.com/items?itemName=nainaigu.AntDeploy2022

为了支持vs插件异步化 vs2019请使用:

https://marketplace.visualstudio.com/items?itemName=nainaigu.AntDeployVsix

deploy to remote server by one button click

功能

  1. 支持docker一键部署(支持netcore)
  2. 支持iis一键部署(支持netcore和framework)
  3. 支持windows服务一键部署(支持netcore和framework)
  4. 支持linux服务一键部署(支持netcore)
  5. 支持脱离visual studio 独立使用AntDeploy(xamarin跨平台支持windows系统和mac系统)
  6. (支持增量发布)(支持一键回滚)(支持点火)(支持选择特定文件发布)(支持查看版本记录)

1.iis deploy support (support increment deploy and rollback) | iis一键发布自动部署 支持增量和回滚

support deploy netcore project and netframework project to the remote server iis by one click.

if remote server not exist the website in iis.will automatically create.

require to install deploy agent in the remote windows server.

支持一键部署 netcore 和 netframework发布到远程机器的iis (支持mvc webapi)

支持website自动创建

2.docker deploy support(support rollback ) | docker一键发布自动部署

support deploy netcore project to the remote linux server as a docker container by one click.

test success in centos7+ and ubuntu 16.04 +

no need deploy agent installed in the linux server.

支持 一键部署netcore项目发布到linux服务器的docker容器

在 centos7+ 和ubuntu 16.04 + 测试成功

不需要在linux上安装agent

3.window service delpoy support(support increment deploy and rollback) | windowsservice一键发布自动部署

support deploy netcore project and netframework project to the remote server windows services by one click.

if service not exist on remote server will automatically create.

require to install deploy agent in the remote windows server.

支持netcore和netframework发布

支持windowsservice自动创建

注意:windowsservice的话需要在windows服务器上部署一个windows service服务。

windows server deploy need install agent | agent下载地址和使用方法请参考:

how to install agent: https://github.com/yuzd/AntDeployAgent

installed antdeploy vs plugin success| 安装成功后 如下:

image__8.png

IIS deploy page:

image__23.png

Docker deploy page:

image__20.png

WindowsService deploy page:

image__16.png

setting page:

image__22.png

how to set https://github.com/yuzd/AntDeployAgent/issues/8

Quick Start

  1. install antdeploy plugin in the visual stutio.
  2. create a netcore project then right click on the project file in vs solution.
  3. click antdeploy to open deploy window
  4. first you should type env name to add a env in setting tab page.
  5. add server under the env. you should connect test after add server.
  6. enjoy deploy by one button click

how antdeploy work

image__21.png

how antdeploy agent work in windows server

image__24.png

how antdeploy work in linux server

image__25.png

Source Code

https://github.com/yuzd/AntDeployAgent

https://github.com/yuzd/AntDeploy

QA & DEMO

【demo】deploy netcore project to Docker : https://github.com/yuzd/AntDeployAgent/issues/6

【demo】deploy netframework mvc project to remote iis :https://github.com/yuzd/AntDeployAgent/issues/2

【demo】deploy netcore mvc project to remote iis : https://github.com/yuzd/AntDeployAgent/issues/3

【demo】deploy netframework windows service project to remote server :https://github.com/yuzd/AntDeployAgent/issues/4

【demo】deploy netcore windows service project to remote server : https://github.com/yuzd/AntDeployAgent/issues/5

【how to install agent in windows server】https://github.com/yuzd/AntDeployAgent/issues/1

【why need to install agent in windows server】https://github.com/yuzd/AntDeployAgent/issues/7

一键发布工具(ant deploy tool)

AntDeploy交流反馈QQ群 image__15.png

Change LOG

6.5

1.支持设置Http代理(例如,发布到欧洲) 2.Docker发布支持增量和选择特定文件发布

6.2

1.可以用AntDeploy更新Agent (Agent版本要求>=6.2)

6.0

1.Agent可以配置是否开启备份的开关 2.Agent可以配置mac地址白名单 只有在白名单地址的才能成功发布

5.5

1.增加查看发布历史记录功能 2.增加显示发布者的pc名称,mac地址,ip地址

5.0

1.增加出错重试和中途停止功能 注意 该功能需使用agent>=5.0版本,如果不升级agent会拉取不到重试发布成功的版本记录而影响回滚功能

4.0

  1. IIS发布时先执行check网站是否存在,若不存在引导创建website 注意 该功能必须要求agent>=4.0版本

3.9

  1. 发布支持增加备注,在回滚的时候可以查看备注进行选择某个版本进行回滚(agent需要用>=3.9版本)

3.8

  1. IIS发布支持选择特定的文件
  2. Windows服务发布支持选择特定的文件

3.7

  1. 增加对vs2013支持

3.6

  1. 修复部分机器出现关闭发布窗口后vs卡死问题
  2. agent修改log单词拼写错误。agent最新版:3.6
  3. AntDeploy支持脱离Visual Studio独立运行

3.5

  1. agent备份排除bug修复 agent最新版:v3.5
  2. 打包排除bug修复
  3. 修复docker build image成功但是报sudo: unable to resolve host 127.0.0.1localhost.localdomainlocalhost的问题

3.4

  1. agent日志完善 agent最新版:v3.4
  2. 解决docker第一次发布的时候 container不存在的时候部分机器docker stop命令会抛异常问题
  3. 支持切换中文 如下图

image__27.png

image__26.png

3.3

  1. MsBuild iis 编译改成 webpublish模式
  2. iis发布:如果第一次创建支持在发布窗口指定网站在服务器上的物理路径地址 windows服务发布:如果第一次创建支持在发布窗口指定服务在服务器上的物理路径地址
  3. 添加服务器支持添加别名,方便标识服务器的含义
  4. agent:发布windows服务项目文件夹找不到的bug
  5. 修复部分机器上发布报【服务器提交了协议冲突. Section=ResponseStatusLine】
  6. netcore发布到docker:如果用vssdk获取不到outfilename 那就默认使用csproj的名称作为入口
  7. 点火改造 iis docker windows服务发布都支持点火,点火就是发布完成后请求点火网址看是否能成功访问
  8. agent:把之前的两个exe统一成一个exe了,AntDeployAgentWindowsService.exe既支持控制台运行又支持作为windows服务运行 注意请用agent最新版

3.2

  1. release build生成目录按照环境分不同的文件夹,解决增量发布的时候同一个项目发不同的环境导致获取增量失败的问题

3.1

  1. setting界面 排除改成跟着环境走 请用3.1版本的时候格外注意要重新配置下排除规则
  2. iis发布增加可选功能:【点火】

3.0

  1. docker发布支持配置volume参数(可以配多个)
  2. setting界面支持配置 windows服务器发布时备份文件的排除规则
  3. 修复部分机器上日志出现中文乱码问题

2.9

  1. docker发布image和container时打上version tag 目的是docker查询时一眼能看出来版本号
  2. docker 发布增加删除发布超过xx天的旧版本文件功能,防止占用磁盘过大的问题
  3. rollback 日志优化

2.8

  1. 修复个别机器打包时候报System.IO.Compression.dll找不到的问题
  2. windows agent 增加定时清除发布已超过>=10天的版本文件目录,防止占用磁盘过大的问题

2.7

  1. 增加回滚功能(注意:windows服务器必须得agent版本>=2.7)
  2. docker发布zip打包改成tar打包,这样一来linux服务器就不需要装unzip了

2.6

增量发布bug修复

2.5

增量发布功能:

  1. iis发布界面新增是否打开增量发布功能checkbox开关
  2. windows服务发布界面新增是否打开增量发布功能checkbox开关

注意:docker发布不支持增量

2.4

窗体改成Showmodel模式 规避忘记关导致进程占用操作vs会卡死的问题

2.3

  1. agent:发布时增加日志记录当前agent的版本号

  2. vs插件:在对windows服务器进行ConnectTest的时候对Token进行urlEncode处理

  3. vs插件:在对publish目录进行打包时候 ignoreList支持可以增加排除整个文件夹

    例如在发布netcore的项目到iis场景下,在非首次发布的时候 publish目录下的 runtimes其实可以不用覆盖,那么就可以排除掉这个文件夹 在IgnoreList里面新增加一条

/{文件夹名称}?.+

例如 :   /runtimes?.+         就代表排除掉publish下的整个runtimes文件夹

2.2

vs插件:紧急修复运行插件后,关闭vs出现关不掉的bug

2.1

  1. agent:iis 发布 和 windows服务发布的日志完善
  2. agent: 如果site已存在 或者 windows服务已存在 进行全量发布时 已存在的文件目录不存在时自从创建目录
  3. vs插件:优化界面
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft