Links may not function; however, this content may be relevant to outdated versions of the product.
Automatically deploying applications with prpcUtils and Jenkins
You can use Jenkins to automate exporting and importing Pega Platform applications. Download the prpcServiceUtils command-line tool and configure Jenkins to export or import archives. You can use a single Jenkins build job to both export and import an application archive, or you can create separate jobs for each task.
For more information about prpcServiceUtils for service-enabled scripting, see Using service-enabled scripting and the prpcServiceUtils tool.
Ensure that your system includes the following items:
- Jenkins 1.651.1 or later
- Jenkins Plugins:
- Ant Plugin
- Environment Injector Plugin
- Build with Parameters Plugin
- Ant version 1.9 or later
- JDK version 1.7 or later
- Downloading and installing prpcServiceUtils
Download and install prpcServiceUtils so that you can use it with Jenkins deploy applications.
- Configuring the Jenkins build environment
Configure your build environment to call the prpcServiceUtils.bat or prpcServiceUtils.sh script and pass parameters to import or export the RAP.
- Configuring the Jenkins project
Configure your build environment to call the prpcServiceUtils.bat or prpcServiceUtils.sh script and pass parameters to import or export the RAP:
- Adding build steps to import or export the archive
You can enter build steps to import an archive or export an archive, or you can do both in one job.
- Importing or exporting the archive by running the Jenkins job
Run a Jenkins job to import or export the application archive.
Previous topic Understanding repository API usage Next topic Downloading and installing prpcServiceUtils