Building a Fabric project compiles the Java sources of each Logical Unit and packages them into deployment artifacts. The output per LU is:
These artifacts are the input for the deployment phase. They can be built and deployed in one step, or built once and deployed to multiple environments separately.
CI/CD pipelines should build artifacts on a dedicated build server using a Docker image that contains Fabric. Fabric itself does not need to be running to build artifacts.
To build artifacts in the Fabric Studio:

Right-click the same object and select Open Folder. Windows Explorer opens at:
[Your PC Folder]\K2View Fabric Studio\Projects\[Project Name]\Implementation\LogicalUnits\[LU Name]
Locate the generated ludb.JAR and ludbXMLs.ZIP files.
Run buildArtifacts.sh on a server to compile and package the project artifacts. The script is located under $K2_HOME/fabric/scripts.
Usage:
./buildArtifacts.sh -pd <PATH_TO_PROJECT> [options]
Options:
Example — build all LUs:
./buildArtifacts.sh -pd /opt/apps/MyProject
Example — build specific LUs into a custom output directory:
./buildArtifacts.sh -pd /opt/apps/MyProject -l Customer,Orders -d /tmp/artifacts
After a successful build, each LU folder under the output directory contains ludb.jar and ludbXMLs.zip.
Once artifacts are built, deploy them to the target Fabric server. See Deploy a Project.
Building a Fabric project compiles the Java sources of each Logical Unit and packages them into deployment artifacts. The output per LU is:
These artifacts are the input for the deployment phase. They can be built and deployed in one step, or built once and deployed to multiple environments separately.
CI/CD pipelines should build artifacts on a dedicated build server using a Docker image that contains Fabric. Fabric itself does not need to be running to build artifacts.
To build artifacts in the Fabric Studio:

Right-click the same object and select Open Folder. Windows Explorer opens at:
[Your PC Folder]\K2View Fabric Studio\Projects\[Project Name]\Implementation\LogicalUnits\[LU Name]
Locate the generated ludb.JAR and ludbXMLs.ZIP files.
Run buildArtifacts.sh on a server to compile and package the project artifacts. The script is located under $K2_HOME/fabric/scripts.
Usage:
./buildArtifacts.sh -pd <PATH_TO_PROJECT> [options]
Options:
Example — build all LUs:
./buildArtifacts.sh -pd /opt/apps/MyProject
Example — build specific LUs into a custom output directory:
./buildArtifacts.sh -pd /opt/apps/MyProject -l Customer,Orders -d /tmp/artifacts
After a successful build, each LU folder under the output directory contains ludb.jar and ludbXMLs.zip.
Once artifacts are built, deploy them to the target Fabric server. See Deploy a Project.