Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Adding export build steps

Updated on December 13, 2021

To add export steps to your build job, do the following steps:
  1. Add an Invoke Ant build step:
    1. In the Build section, click Add build step and select Invoke Ant.
    2. n the Targets field, enter exportprops.
    3. In the Build File field, enter the path to the build file:
    • On Windows, enter the following path: $PEGA_HOME\samples\Jenkins-build.xml
    • On UNIX, enter the following path: $PEGA_HOME/scripts/samples/jenkins/Jenkins-build.xml
  2. Add a build step to run either prpcServiceUtils.bat or prpcServiceUtils.sh.
    • If you are on Windows, go to step 3.
    • If you are on UNIX, go to step 4.
  3. On Windows, create an Execute Windows batch command build step:
    1. In the Build section, click Add build step and select Execute Windows batch command.
    2. In the Command field, enter the following command: %PEGA_HOME%\scripts\utils\prpcServiceUtils.bat export --connPropFile %WORKSPACE%\%SystemName%_export.properties --artifactsDir %WORKSPACE%
  4. On UNIX, create an Execute Shell batch command build step:
    1. In the Build section, click Add build step and select Execute Shell batch command​.
    2. In the Command field, enter the following command: $PEGA_HOME/scripts/utils/prpcServiceUtils.sh export --connPropFile $WORKSPACE/${SystemName}_export.properties --artifactsDir $WORKSPACE

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us