How to Update Agent with AntDeploy

 

AntDeploy

AntDeploy is an open source one-click publishing deployment tools, the purpose is to replace the repetitive release action to improve the efficiency of deployment

    • 1. one-click deployment iis

    • 2. One-click deployment windows service

    • 3. One-click deployment to Docker

    • 4. Support increment

    • 5. Support to publish only specific files

    • 6. Support to roll back to a specific version of history

    • 7. Support View release history

    • 8. Support departing alone vs

    • 9. Support to publish front-end project iis

    • 10. Support url ignition to see if successful deployment

    •  github Open Source Address

    •  Download plugin

Prerequisites

  1. AntDeploy plug-in version> = 6.2
  2. Agent version> = 6.2

If the above two conditions are not satisfied, please update manually download the files in the group!

Download the standalone version AntDeployAPP

The so-called stand-alone version is used independently from vs
image

Download the latest version of Agent

(Available for download in the group file)

image

Then expanded into a local Agent

image

Open the standalone version AntDeployAPP

  1. Select the file unzipped locally above

image

  1. Release configuration, add add servers to update agent environment
    image

  2. Back to the [Windows] release service
    option to add the environment

Special attention, service name to fill: AntDeployAgentWindowsService

image

  1. Click [release] to update

The principle:

  1. AntDeploy fill in according to your service name: AntDeployAgentWindowsService to determine whether the update Agent
  2. If you are updating Agent AntDeploy only responsible for the new Agent files to your server
  3. You can have a closer look at the new version of the Agent directory  deploy_end .bat file
    reads as follows:

@ECHO OFF
sc stop AntDeployAgentWindowsService // phrase mean to stop Agent Service
xcopy /e $DeployFolder$ $AppFolder$ /y // placeholder sentence there, which means copying files
sc start AntDeployAgentWindowsService // phrase mean to start Agent Services

    1. If you do not  deploy_end .bat file updates fail
      to have this file will execute the file to update their self-realization! ! !

Guess you like

Origin www.cnblogs.com/yudongdong/p/10986154.html