Run tests against Debug then Deploy Release Build?
Hello, we want to build and run tests against the "Debug" build, and then IF the tests pass, rebuild as Release and then deploy that. Do I need so create two separate projects for this? I am just using the UI, not the YML config files...
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 03 Feb, 2015 02:30 AM
Hi Scott,
I'd implement that scenario with a simple build script (sequence) in a single project (pseudo code):
This case if either Debug build fails or tests fail the entire build will be terminated immediately.
Let me know if you have any questions.
2 Posted by Scott on 03 Feb, 2015 06:00 PM
Not sure what you mean by script? You mean like a NAnt script? Do you have any examples?
Is there not a way to achieve this using the UI?
Support Staff 3 Posted by Feodor Fitsner on 03 Feb, 2015 06:03 PM
I meant you switch Build mode to "Script" and just put those commands in there.
Alternatively, you could have two jobs under the same build: one for Debug and the second for Release. Then do deploy manually the artifact from Release job.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.