Good to hear from you!
• Code Analysis part in the DevOps pipeline while delivering the project through Octopus Deploy to target machine
It’s great you’re considering using code analysis to enhance your code quality. The code analysis would run as part of your continuous integration, ideally failing the build if the standards specified are not met. With this in place, the build artifacts should remain as they do now and Octopus Deploy will work as it does currently.
• Continuous Testing (CT) through Octopus Deploy tool
There are no testing tools built into Octopus Deploy however there are ways that you can trigger tests to run.
A couple of ways you could integrate the tests into your deployment are:
- Have a script step in your deployment process that executes the tests
- Call a runbook that executes your test suite at the end of your deployment. You could also have a script step that executes your tests
Both of those options can be scoped so that they only execute in specific environments or under certain conditions.
Our community library has some templates that may be of use, it’s worth having a look on there: https://library.octopus.com/listing