Is it possible to deploy with named feature branch?

huy's Avatar


21 Oct, 2014 05:12 PM

The work flow would be this (git flow):

If we create a feature branch: feature/awesome
We want to deploy the web project to WebServer/awesome
and when we close the feature branch (merge back to develop)
WebServer/awesome will get destroyed.

The same with windows services.


  1. Support Staff 1 Posted by Feodor Fitsner on 21 Oct, 2014 06:00 PM

    Feodor Fitsner's Avatar

    I assume you use Deployment Agent.

    So, awesome is the name of web app (virtual directory) on WebServer, right?

  2. 2 Posted by huy on 21 Oct, 2014 06:41 PM

    huy's Avatar

    yes you are correct

  3. Support Staff 3 Posted by Feodor Fitsner on 22 Oct, 2014 02:22 AM

    Feodor Fitsner's Avatar

    I think this is possible (except destroying part).

    First, you can pass application name in environment variable to have something like:

    <deployable-artifact>.application_name = $(application_name)

    where application_name is your custom environment variable set during the build process.

    Next, there is APPVEYOR_REPO_BRANCH variable carrying on branch name. You can use PowerShell to strip awesome part and put it into application_name.

    For services you can alter service_name in the same way.

    Re: destroying on closing branch - we should think how/when to better do it - any ideas are welcome.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac