Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Access the Team City URL and log on to TeamCity using your credentials.
  2. Click the Create project button and Select Manually using the drop-down list.
  3. Enter the Name, Project ID, and Description.
  4. Click Create.
  5. In the Build Configurations section, click the Create build configuration button and select Manually using the drop-down list.
  6. Enter Name and system updates the Build ID accordingly.
  7. Enter Description, if any.
  8. Click Create.
    Build is now successfully created and you can proceed to configure Version Control Settings (VCS).
  9. Click the project name on the top of the screen to view Project Settings.
  10. Click the Edit link adjacent to the build configuration created by you.
    General Setting screen is displayed.
  11. In the Artifact Paths field, type QualitiaReport%env.qualitiareportpath%/**/* => Report{*}.
  12. Click Save.
  13. In the left pane, select Version Control Settings and click Attach VCS root button.
  14. In Type of VCS, select Subversion using the drop-down list.
  15. Enter VCS root name. VCS root ID is populated automatically.
  16. In the URL field, enter the SVN URL up to the parent folder where offline package is uploaded.
    Offline Package includes Offline.jar, all the other required files for Offline execution, and XML folder.
  17. Enter SVN Username and Password.
  18. Click Test Connection to test the SVN connection, and click Create.
  19. In the left pane, select Build Steps.
  20. Click the Add build step button.
  21. In the Runner Type field, select Command Line using the drop-down list.
  22. Enter Step name as per your requirements.
  23. In the Run field, select Custom Script using the drop-down list.
  24. In the Custom Script field, enter enterĀ cd %teamcity.build.checkoutDir% andĀ java -jar <qualitiaofflineJarFileName>.jar
  25. Click Save.
  26. Click the Add Build Step button.
  27. In the Runner Type field, select Command Line using the drop-down list.
  28. Enter Step name as per your requirements.
  29. In the Run field, select Executable with parameters using the drop-down list.
  30. In the Command executable field, enter %system.teamcity.build.workingDir%<followed by Offline Package path on SVN>.
  31. Click Save.
    Image Removed
  32. In the left pane, select Parameters.
  33. Click Add New Parameter.
  34. In the Kind field, select Environment variable using the drop-down list.
  35. In the Name field, enter env.qualitiareportpath.
  36. Click Save.
  37. In the left pane, click Build Steps.
  38. Click the Add Build Step button.
  39. In the Runner Type field, select Command Line using the drop-down list.
  40. Enter Step name as per your requirements.
  41. In the Run field, select Custom Script using the drop-down list.
  42. In the Custom Script field, enter xcopy /I /Y /E %env.qualitiareportpath%* .\QualitiaReport.
  43. Click Save.

Anchor
_Toc481846977
_Toc481846977
Execute and View Report

...