function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Peter BölkePeter Bölke 

Retrieve Code with Jenkins & ANT

Hello,

i try to backup my code with Jekins and ANT but it failes with follwoing error
 
Should provide a valid retrieve manifest 'unpackaged'

it failes at this point of my build.xml
 
<target name="retrieve">
	  <sf:retrieve username="${Sandbox1.username}"
				   password="${Sandbox1.password}"
				   serverurl="${sf.serverurl}"
				   retrieveTarget="src"
				   metadataType="Report"
				   unpackaged="unpackaged"
				   
				   />
        <echo message="Commiting all changes with message ${gt.commitMessage}" />
		<git command="add" dir="${Sandbox1.gitDirectory}">
			<args>
				<arg value="." />
			</args>
		</git>
		<git command="commit" dir="${Sandbox1.gitDirectory}">
			<args>
				<arg value="-am ${gt.commitMessage}" />
			</args>
		</git>
	</target>

Any suggestions for fxing this?

thanks
Peter​​​​​​​
Dushyant SonwarDushyant Sonwar
Hi Peter ,

You can raise a case from salesforce support regarding the ANT Migration tool. You need to follow the steps mentioned in below article before raising a case.
https://help.salesforce.com/articleView?id=000005459&type=1&language=en_US

Hope this helps.