hudson.README 2.8 KB

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