Advertisement
Guest User

Untitled

a guest
Feb 10th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. <target name="validateDeployment">
  2. <record name="log.txt" action="start"/>
  3. <sf:deploy username="${sf-target.username}"
  4. password="${sf-target.password}"
  5. serverurl="${sf-prod.serverurl}"
  6. deployRoot="src"
  7. checkOnly="true"/>
  8. <record name="log.txt" action="stop"/>
  9. <loadfile srcFile="log.txt" property="vid">
  10. <filterchain>
  11. <tailfilter lines="1"/>
  12. <tokenfilter>
  13. <stringtokenizer suppressdelims="true"/>
  14. <containsregex pattern="[a-zA-Z0-9]{18}"/>
  15. </tokenfilter>
  16. </filterchain>
  17. </loadfile>
  18. <propertyfile file="build.properties" >
  19. <entry key="sf-prod.validationID" value="${vid}"/>
  20. </propertyfile>
  21. </target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement