Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content
  • Automate TIBCO BusinessWorks? Container Edition deployments to K8S via Maven and Jenkins (CICD)

    Manoj Chaurasia

    Table of Contents

    Here are the steps to create an Automation Pipeline for CI using Maven for dependency management, Jenkins for job scheduling for TIBCO BusinessWorks? Container Edition deployments to Kubernetes (GKE) over Docker containers.


    Step 1: BusinessWorks? Container Edition app configs / Generate POM files:

    • Right-click on the BusinessWorks? Container Edition application and click Generate POM for Application.

    • Use the below-shown format docker values during the POM generation wizard in TIBCO BusinessStudio?.

    • The Deploy Option is Docker for this specific scenario. You can choose a suitable option per your scenario.


    • In the second wizard to deploy it to Docker containers, provide the below-shown values (image name and BusinessWorks? Container Edition image values could vary based on the scenario) in the wizard:


    • In the last wizard to deploy it to K8S platform, use the below specific format values:


    • docker-dev properties (generated by Maven wizard) should look like shown below.


    • K8s-dev properties (generated by Maven wizard) should look like shown below:


    Step 2: Jenkin configs:

    • Install required plugins in Jenkins.

      • Mandatory:

        • Manage Plugins ? install two plugins ? Maven Integration and Docker.

      • Optional:

        • If you need to create a Build Pipeline, install Build Pipeline plugin also.

        • If you need to customize the default Jenkins theme, install Simple Theme Plugin and add the required theme?s CSS under Manage Jenkins - Configure System - Theme.


    • Under Global Tool Configs, add Maven and Docker Home.


    • Under Global security config ? select the below option (Plugin Manager -- User browser for metadata download) to disable SSL.


    • Now, let?s create a Maven project to deploy BusinessWorks? Container Edition app on K8s over Docker containers.

    • Create a pre-build step ? execute shell and execute the required commands.

      • In this specific case, I?m also linking the deployment job only if the Unit Test job is successful (Projects to Watch and Build after other projects are built option).

      • gcloud command is setting the project ID specific to the env. (will vary in your use-case based on your GKE platform)

      • login to docker to execute the fabric8 commands via Maven.

      • execute the kubectl command to have the token set for this specific job.

    • Under the build section ? specify the POM and the required goals.


    • Save and run the build.


    • Under the Build History, if you click the build number, you should see the Console Output displaying the result of your build.


    • BusinessWorks? Container Edition app should be deployed on K8s and running.<;p>


    User Feedback

    Recommended Comments

    There are no comments to display.

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Create New...