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 BusinessWorks deployments to TIBCO Cloud via Jenkins


    Vikas Kumar 9

    Steps to automate BusinessWorks deployments on TIBCO Cloud via Jenkins.

    Pre-requisites: 

    • Install Jenkins from https://jenkins.io/ or Jenkins docker image is also available on https://hub.docker.com/_/jenkins

      • In this Wiki scenario, Jenkins is running locally. 

    • Access to bwdesign (available via TIBCO Business Studio Installer) and tibcli executable on the build server. (where Jenkins is running)

    • Access to TIBCO Cloud account

    Steps:

    • On Jenkins UI ? create a job with FreeStyle project item as shown below.

      pasted_image_0_8.thumb.png.33b35254fec7196ab6deee06a2762222.png

    • Under the job created in above step, add a build step to execute shell. 
    • Execute the below mentioned commands via shell.

      • Create application archive and manifest.json via the bwdesign utility.

        • ensure BW application has TIBCO Cloud as the Deployment Target. 

        • bwdesign command (on Mac): ./bwdesign -data /Users/hnembhwa/workspace_tibconow_chicago system:export FlightService.application /Users/hnembhwa/Desktop/TCI-Jenkins/FlightsService-Archive

          • -data is to specify the workspace containing BW application.

          • system:export is to create the EAR for FlightService.application in the workspace. For more than one BW app, use comma separated values.  

          • /Users/hnembhwa/Desktop/TCI-Jenkins/FlightsService-Archive is the location for EAR to be generated. 

      • Login to tibcli to the specific org and region via the user specific credentials. 

        • Organization (-o flag) and region (-r flag) details can be retrieved by running tibcli locally or via TIBCO Cloud web portal. (UI)

        • command to execute: refer the snapshot below. 

      • Use tibcli to push the app to TIBCO Cloud. 

        • command to execute: refer the snapshot below.  

          pasted_image_0_1_0.thumb.png.653fbdc3272d9b8fb14e785d8445a7df.png


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...