hudson.README 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. To execute this build as a Hudson build job, you have to configure the following:
  2. JobName: YAKINDU_Base_CI
  3. Source-Code-Management:
  4. + SVN
  5. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/releng
  6. Location: releng
  7. + SVN
  8. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/de.itemis.xtext.utils/plugins
  9. Location: XtextUtils_repository/plugins
  10. + SVN
  11. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/de.itemis.xtext.utils/features
  12. Location: XtextUtils_repository/features
  13. + SVN
  14. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/de.itemis.gmf.utils/plugins
  15. Location: gmf_utils_repository/plugins
  16. + SVN
  17. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/de.itemis.gmf.utils/features
  18. Location: gmf_utils_repository/features
  19. + SVN
  20. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/plugins
  21. Location: base_repository/plugins
  22. + SVN
  23. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/BASE/trunk/features
  24. Location: base_repository/features
  25. Build environment:
  26. + Send files or execute commands over SSH after the build runs
  27. Server: Yakindu Projects.itemis.de
  28. Command:
  29. if [ -e base/kepler/snapshot ]; then
  30. if [ -e base/kepler/snapshot_backup ]; then
  31. rm -r base/kepler/snapshot_backup;
  32. fi
  33. mv base/kepler/snapshot base/kepler/snapshot_backup;
  34. fi
  35. + Send files or execute commands over SSH after the build runs
  36. Server: Yakindu Projects.itemis.de
  37. Source files: update-site/**
  38. Remove prefix: update-site
  39. Remote directory: base/kepler/snapshot
  40. Command:
  41. if [ -e base/kepler/snapshot -a -e base/kepler/snapshot_backup ]; then
  42. rm -r base/kepler/snapshot_backup;
  43. fi
  44. Build:
  45. + Execute Shell
  46. Command
  47. if [ -d "build" ]; then
  48. rm -fr build
  49. fi
  50. mkdir build
  51. cp -R releng/* build/
  52. cp -R XtextUtils_repository/plugins/* build/
  53. cp -R XtextUtils_repository/features/* build/
  54. cp -R gmf_utils_repository/plugins/* build/
  55. cp -R gmf_utils_repository/features/* build/
  56. cp -R base_repository/plugins/* build/
  57. cp -R base_repository/features/* build/
  58. + Invoke Maven 3
  59. Goals
  60. clean verify -s ../build/org.yakindu.base.releng/settings.xml
  61. POM File
  62. ../build/org.yakindu.base.releng/pom.xml
  63. Properties
  64. Profiles
  65. JVM Options
  66. + Execute Shell
  67. Command
  68. if [ -d "update-site" ]; then
  69. rm -fr update-site
  70. fi
  71. mkdir update-site
  72. cp -R build/org.yakindu.base.repository/target/repository/* update-site/
  73. Post-Build-Actions:
  74. + Publish JUnit Test Results
  75. Testreports in XML format
  76. **/target/surefire-reports/*.xml
  77. + Archive the artifacs
  78. Files to archive
  79. update-site/**