Guest User

Untitled

a guest
Jan 16th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. тесты
  2.  
  3.  
  4. echo "" >> $WORKSPACE/hybris-ext/config/custom.properties
  5. echo "db.url=jdbc:mysql://10.17.13.213/hybris_2016_01_intgreation_tests?useConfigs=maxPerformance&characterEncoding=utf8" >> $WORKSPACE/hybris-ext/config/custom.properties
  6. echo "db.username=root" >> $WORKSPACE/hybris-ext/config/custom.properties
  7. echo "db.password=3333333333" >> $WORKSPACE/hybris-ext/config/custom.properties
  8.  
  9.  
  10. docker run --rm=true \
  11. -v $WORKSPACE/hybris-ext:/opt/hybris/bin/ext-qlaccelerator \
  12. -v $WORKSPACE/hybris-ext/config:/opt/hybris/config \
  13. -v $WORKSPACE/hybris-temp:/opt/hybris/temp/hybris\
  14. shaposhnikoff/hybris-5.5.1.4 /bin/bash -c "\
  15. umask 000; \
  16. cd /opt/hybris/bin/platform;\
  17. . ./setantenv.sh;\
  18. ant clean customize all -Dgrocery.country=${grocery_country}; \
  19. ant yunitinitprojectdata -Dgrocery.country=${grocery_country}; \
  20. ant integrationtests -Dgrocery.country=${grocery_country} -Dtestclasses.extensions=\"qlacceleratorcockpits,qlacceleratorcore,\
  21. qlacceleratordashboard,qlacceleratorfacades,qlacceleratorinitialdata,qlacceleratormobilewebservices,qlacceleratorpromotions,\
  22. qlacceleratorstorefront,qlacceleratortest,qlacceleratorbackoffice\"
  23.  
  24.  
  25.  
  26. сборка артефактов в контейнере
  27.  
  28. echo $GIT_COMMIT > $WORKSPACE/hybris-ext/config/.git_properties
  29. docker run --rm=true \
  30. -v $WORKSPACE/hybris-ext:/opt/hybris/bin/ext-qlaccelerator \
  31. -v $WORKSPACE/hybris-ext/config:/opt/hybris/config \
  32. -v $WORKSPACE/hybris-temp:/opt/hybris/temp/hybris \
  33. shaposhnikoff/hybris-5.5.1.4 /bin/bash -c "\
  34. umask 000; \
  35. cd /opt/hybris/bin/platform;\
  36. . ./setantenv.sh;\
  37. ant customize clean all production -Dgrocery.env=${grocery_env} -Dgrocery.country=${grocery_country}
  38. "
Add Comment
Please, Sign In to add comment