hudson.README 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. To execute this build as a Hudson build job, you have to configure the following:
  2. JobName: YAKINDU_SCT2_CI
  3. Parameterized-build:
  4. + Run Parameter
  5. Name: base_target_job
  6. Project: YAKINDU_Base_target
  7. Description: Build from target to use for target repository
  8. + Run Parameter
  9. Name: base_repository_job
  10. Project: YAKINDU_Base_CI
  11. Description:
  12. Source-Code-Management:
  13. + SVN
  14. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk/releng
  15. Location: releng
  16. + SVN
  17. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk/plugins
  18. Location: sct2_repository/plugins
  19. + SVN
  20. URL: http://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk/features
  21. Location: sct2_repository/features
  22. + SVN
  23. URL: https://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk/test-plugins
  24. Location: sct2_repository/test-plugins
  25. + SVN
  26. URL: https://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk/examples
  27. Location: sct2_repository/examples
  28. Build:
  29. + Execute Shell
  30. Command
  31. echo base_target_job: ${base_target_job}
  32. echo base_repository_job: ${base_repository_job}
  33. + Execute Shell
  34. Command
  35. if [ -d "build" ]; then
  36. rm -fr build
  37. fi
  38. mkdir build
  39. cp -R releng/* build/
  40. cp -R sct2_repository/plugins/* build/
  41. cp -R sct2_repository/features/* build/
  42. cp -R sct2_repository/test-plugins/* build/
  43. cp -R sct2_repository/examples/* build/
  44. + Invoke Maven 3
  45. Goals
  46. clean
  47. POM File
  48. ../build/org.yakindu.sct.releng/pom.xml
  49. Properties
  50. tycho.mode=maven
  51. JVM Options
  52. Private Maven-Repository: Checked
  53. + Invoke Maven 3
  54. Goals
  55. verify -PCI -s ../build/org.yakindu.sct.releng/settings.xml
  56. POM File
  57. ../build/org.yakindu.sct.releng/pom.xml
  58. Profiles
  59. CI
  60. Properties
  61. p2.target.repository=${env.base_target_job}artifact/update-site
  62. p2.base.repository=${env.base_repository_job}artifact/update-site
  63. Private Maven-Repository: Checked
  64. + Execute Shell
  65. Command
  66. if [ -d "update-site" ]; then
  67. rm -fr update-site
  68. fi
  69. mkdir update-site
  70. cp -R build/org.yakindu.sct.repository/target/repository/* update-site/
  71. Post-Build-Actions:
  72. + Publish JUnit Test Results
  73. Testreports in XML format
  74. build/*test/target/surefire-reports/*.xml
  75. + Archive the artifacs
  76. Files to archive
  77. update-site/**