Question

1
Replies
269
Views
RaviTejaNJ Member since 2013 10 posts
Cognizant Technology Solutions Pvt Ltd
Posted: 2 years ago
Last activity: 2 years 8 months ago
Closed

Able to Export but Import using prpcServiceUtils from Jenkins in Pega v7.2.2 is failing

Hi Mahesh

I am able to export the file successfully but Import is failing for me. When I checked further I see that in Jenkins-Build.xml the following part of XML is failing

</target>
	<target name="importprops">
		<property environment="env" />
		<copy todir="${env.PEGA_HOME}\destination" flatten="true" overwrite="true">
			<first count="1">
				<sort>
					<fileset dir="${env.ARTIFACTS_DIR}" includes="**/*.zip"/>
					<reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
						<date />
					</reverse>
				</sort>
			</first>
		</copy>

The exported ZIP file is being stored in folder that is dynamically created in the workspace directory. So for Import

the zip file is not getting copied to destination folder. 

Can you help me in solving this

Thanks

DevOps Low-Code App Development Installation and Deployment
Moderation Team has archived post
Share this page LinkedIn