Drools Business Central integration with CI and deployment to kie-server

53 views
Skip to first unread message

Ashoke Sen

unread,
Aug 19, 2020, 3:36:24 AM8/19/20
to Drools Development

We are new to Drools rule engine/Red hat Process Automation. Have a few questions :

1. Once a project is created in drools business central, how to integrate with with CI/CD ?

    a) How to build it through command line (and for a particular build version) which may be invoked through CI manager? stepwise

    b) What is the output of the build? in documentation it says KJAR. What is KJAR?

    c) Where the KJAR is generated?

2. How to deploy the built application (KJAR?) it to kie-server?


Any help is highly appreciated

Thanks in advance

Ashoke Sen


Alex Porcelli

unread,
Aug 19, 2020, 9:25:19 AM8/19/20
to drools-de...@googlegroups.com
Before dive in BC integration with CI, what exactly resources are you
using from BC? What kind of assets are you authoring there?

Regards,
___________________
Alex Porcelli
F: +1 (978) 844-8695
https://porcelli.me
> --
> You received this message because you are subscribed to the Google Groups "Drools Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to drools-developm...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/drools-development/9a060a98-48ea-486c-bf1f-9a9593d14054n%40googlegroups.com.

Ashoke Sen

unread,
Aug 20, 2020, 1:07:05 AM8/20/20
to Drools Development
Hi

I am using "DRL file," "Guided Rule" and "Guided Decision Table".

Thanks & regards
Ashoke Sen

Alex Porcelli

unread,
Aug 20, 2020, 11:12:02 AM8/20/20
to drools-de...@googlegroups.com
So..for Guided Rule and for Guided Decision Table you need BC, you
have no option. In case you needed DRL, BPMN or DMN you could use the
VSCode extensions we provide and could live completely outside the BC
world.

In the case you have to keep using those, the best option to integrate
BC with your CI is using git hooks, check my blog that has plenty of
material about git hooks. The general idea is that you'll `listen` for
changes and based whatever criteria you have, you can trigger your
pipeline.


Regards,
___________________
Alex Porcelli
https://porcelli.me
> To view this discussion on the web visit https://groups.google.com/d/msgid/drools-development/a777a24a-4a66-40d9-9803-36860707407en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages