Multiple build configurations taking long time
Hi, I was wondering something.
We have a ASP.NET MVC 5 project with multiple Web.config files. One for each environment, like hotfix, development and production. These config files have different environment variables. And because of this, multiple builds are created for each new PR created.
Is there a way to reduce the number of builds? Considering the source code is exactly the same, it's just the environment variables from the web.config files that are different, it seems unneccessary with that many builds. I'm rather new to the whole DevOps, so I'm not really sure what to do. Thanks :)
- builds.PNG 8.68 KB
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 31 May, 2022 04:56 PM
Hi Thomas,
You can just use your own build commands and build all configurations in the same build job, kind of:
And then upload produced files/folders to artifacts like described here: https://www.appveyor.com/docs/packaging-artifacts/
Feodor Fitsner closed this discussion on 31 Jul, 2022 09:02 PM.