Adding import build steps
To add import build steps to your build job, do the
following steps:
- Add an Invoke Ant build step:
- In the Build section, click Add build step and select Invoke Ant.
- n the Targets field, enter importprops.
- 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
- 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.
- On Windows, create an Execute Windows batch command build step:
- In the Build section, click Add build step and select Execute Windows batch command.
- In the Command field, enter the following
command: %PEGA_HOME%\scripts\utils\prpcServiceUtils.bat import --connPropFile %WORKSPACE%\%SystemName%_import.properties --artifactsDir %WORKSPACE%
- On UNIX, create an Execute Shell batch command build step:
- In the Build section, click Add build step and select Execute Shell batch command.
- In the Command field, enter the following
command: $PEGA_HOME/scripts/utils/prpcServiceUtils.sh import --connPropFile $WORKSPACE/${SystemName}_import.properties --artifactsDir $WORKSPACE
Previous topic Adding export build steps Next topic Importing or exporting the archive by running the Jenkins job