Is it possible to deploy with named feature branch?
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.
Thanks.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Feodor Fitsner on 21 Oct, 2014 06:00 PM
I assume you use Deployment Agent.
So,
awesome
is the name of web app (virtual directory) onWebServer
, right?2 Posted by huy on 21 Oct, 2014 06:41 PM
yes you are correct
Support Staff 3 Posted by Feodor Fitsner on 22 Oct, 2014 02:22 AM
I think this is possible (except destroying part).
First, you can pass application name in environment variable to have something like:
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 stripawesome
part and put it intoapplication_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.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.