Automating builds
You can automate the build of your projects in a continuous deployment pipeline by building your rule and Java™ projects as rule applications.
The following diagram shows an example of a continuous deployment pipeline architecture that uses Jenkins and Bamboo for continuous integration, and that describes the tasks that build agents do.

You can use Rule Designer in headless mode, the Build Command Line, or the Build Command Maven plugin to automate the compilation tasks in build agents.
Depending on your automation requirements, consider also the Automated deployment of decision services, which includes deployment.