Using prpcServiceUtils and Jenkins for automated application deployment
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
- 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:
- Configuring Jenkins in 5.1.x
If you are using a Run Jenkins step task in your pipeline, configure Jenkins so that it can communicate with the orchestration server.
- 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 Downloading and installing prpcServiceUtils Next topic Configuring the Jenkins build environment