Harvest

 View Only

QQ: When we promote a package and execute the UDP script to run the Openmake workflow, does Openmake know the package name?

  • 1.  QQ: When we promote a package and execute the UDP script to run the Openmake workflow, does Openmake know the package name?

    Broadcom Employee
    Posted Oct 03, 2019 04:22 PM

    When we promote a package and execute UDP script (in OpenMake) does the OpenMake know the caller (Package Name/ID)?

     java -cp "D:\Program Files\Meister\client\bin\omcmdline.jar" -Duser.name=system com.openmake.cmdline.Main -build "My_OM_Workflow_name"

     Answer:

    Your custom Openmake workflow can be configured to accept parameters such as the package name.  You would set up the environment variables on the "Configure" tab for your workflow inside the Openmake client, and then in the SCM UDP that executes the omcommand jar, you would add the parameters to your java command.

    For a more detailed explanation you will need to consult the Openmake User Guide:  https://www.openmakesoftware.com/help/#!openmakemeister75fastintelligentandrepeatablesoftwarebuilds.htm

    And in particular, here is where you can read more about command line options available for omcommand:
    https://www.openmakesoftware.com/help/#!omcmdlinejaroptions.htm




    ------------------------------
    Melinda Skelton
    ------------------------------