Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-18359

SQuaSH API /jenkins/<ci_id>?ci_name=<ci_name> should return the jenkins timestamp

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I've tested this with the SQuaSH demo instance after DM-18603 and it is working fine.

      The only issue was with jobs where ci_name='unknown' because of DM-18599.

      For testing this and to be able to implement DM-17767, I have updated the ci_name field in the squash-demo database, as follows:

      update job set env=JSON_SET(env, "$.ci_name", "validate_drp") where ci_dataset='validation_data_cfht';
       
      update job set env=JSON_SET(env, "$.ci_name", "validate_drp") where ci_dataset='validation_data_hsc';
       
      update job set env=JSON_SET(env, "$.ci_name", "ap_verify") where ci_dataset='CI-HiTS2015';
      

        Attachments

          Issue Links

            Activity

            Hide
            afausti Angelo Fausti added a comment -

            Example:
            https://squash-restful-api-demo.lsst.codes/jenkins/1608?ci_name=validate_drp

            {
              "id": 3851,
              "date_created": "2019-03-27T13:25:39Z",
              "ci_dataset": "validation_data_cfht",
            ...
            }
            

            Show
            afausti Angelo Fausti added a comment - Example: https://squash-restful-api-demo.lsst.codes/jenkins/1608?ci_name=validate_drp { "id": 3851, "date_created": "2019-03-27T13:25:39Z", "ci_dataset": "validation_data_cfht", ... }

              People

              Assignee:
              afausti Angelo Fausti
              Reporter:
              afausti Angelo Fausti
              Watchers:
              Angelo Fausti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.