Automating project builds with the Build Command

You can automate the build of your rule and Java™ projects as rule applications outside Eclipse. This way, you do not need to install Rule Designer in the environment where build agents build projects.

Before you begin

You must have installed the Java Development Kit (JDK) that is compatible with this version of Operational Decision Manager on Certified Kubernetes.

About this task

You download the files to use Build Command. You use Build Command to create projects that make use of decision services and the decision engine. If you synchronize a project from Rule Designer to Decision Center, the files that you write for Build Command are not synchronized with the other project artifacts. You should keep these files in the source control environment where you store your rules.

The command builds a RuleApp as a stand-alone archive in the specified output folder. The name of this file comes from the RuleApp name specified in the deployment configuration. The build generates temporary files in a tmp-dsar folder that it creates in your output folder. This temporary folder is automatically deleted when the build completes.

Procedure

  1. Download the compressed file that contains the Build Command API JAR files from the following URL:
    https://DC_URL/decisioncenter/assets/buildcommand.zipWhere DC_URL is the endpoint to access Decision Center.
  2. Decompress the buildcommand.zip.
  3. Follow the guidelines in Build Command documentation.