+ Start a Discussion
m 3m 3 

Permission to give a particular user with help of sharing rule, how we can achieve that you used ANT tool,

Permission to give a particular user with help of sharing rule, how we can achieve that you used ANT tool, what is the process, how do u deploy the code using the tool. what is the process
Let say i don’t want to deploy the code, i want to validate it,
i don’t want to deploy it directly, want to validate it and if succeed then i want to deploy, how do u do that
 
NagendraNagendra (Salesforce Developers) 
Hi,

May I suggest you please try something like below.
<target name="deployCodeCheckOnly">
<sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}"
deployRoot="ProjectFolder" checkOnly="true"/>
</target>
For more information please check with below link.
Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra