Uploaded image for project: 'Xray for Jenkins'
  1. Xray for Jenkins
  2. XRAYJENKINS-36

Improve the build log information/detail

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • Jenkins R2.3.0
    • None
    • OK

    Description

      Currently, the Log information/detail from a Jenkins build, regarding each of the Xray Pre-Build/Post-Build steps, is as follows:

      • The XRAY: Cucumber Features Export Task step:
        Starting export task...
        ##########################################################
        ####   Xray is exporting the feature files  ####
        ##########################################################
        Issues: PB-19
        Will save the feature files in: \src\test\resources\skeleton
        ###################### Unzipping file ####################
        ###################### Unzipped file #####################
        Sucessfully exported the Cucumber features

        As can be seen, it contains the detail of the defined Exported Cucumber Test, however the log should maybe start with Starting XRAY: Cucumber Features Export Task instead of Starting export task... in order to properly identify the action;

      • The XRAY: Cucumber Features Import Task step:
        File: D:\Jenkins\workspace\fewerstyle\src\test\resources\skeleton
        [{"id":"248900","key":"BUS-22","self":"http://mssqlv7/rest/api/2/issue/248900"}]
        [{"id":"248901","key":"BUS-23","self":"http://mssqlv7/rest/api/2/issue/248901"}]

        As can be seen, it currently doesn't have much information. For consistency, and better identification, It should be more like this instead:

        Starting XRAY: Cucumber Features Import Task...
        ##########################################################
        ####   Xray is importing the feature files  ####
        ##########################################################
        File: D:\Jenkins\workspace\fewerstyle\src\test\resources\skeleton
        [{"id":"248900","key":"BUS-22","self":"http://mssqlv7/rest/api/2/issue/248900"}]
        [{"id":"248901","key":"BUS-23","self":"http://mssqlv7/rest/api/2/issue/248901"}]
        Sucessfully imported the Cucumber features
      • The Xray: Results Import Task step:
        Starting import task...
        Import Cucumber features Task started...
        ##########################################################
        #### Importing the execution results to Xray  ####
        ##########################################################
        File: D:\Jenkins\workspace\fewerstyle\data.json
        Starting to import results from data.json
        response: {"testExecIssue":{"id":"248902","key":"PB-30","self":"http://mssqlv7/rest/api/2/issue/248902"}}
        Sucessfully imported Cucumber JSON results from data.json

        As can be seen, it currently has a wrong label, where Import Cucumber features Task started... should actually be Starting Xray: Results Import Task....

      Attachments

        1. screenshot-1.png
          125 kB
          Miguel Fernandes

        Activity

          People

            pmmr Pedro Rodrigues
            pmmr Pedro Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 6 hours, 17 minutes
                1d 6h 17m