Versions Compared

Key

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

...

  • Rest based communication
  • CI Portal End Point: /json/test
  • Description:  When a request from CI portal is accepted, Automatics Orchestration will send execution request to Jenkins. The test cases to be executed for CI validation will pre-configured  in Orchestration. Set of scripts to be executed for a CI request with image name and other param values is configured in Automatics.Upon completion of test execution, the results will be updated back to CI portal.
  • Response Code: 200
  • Request Content-Type: application/json
  • Request Body Format:

{
   "service":"CI_VERIFICATION",
   "status":"SUCCESS",
   "started_at":1623818325471,
   "started_by":"CI PORTAL",
   "duration":3618,
   "result":{
      "build_name":"RTG1682-portal_DEV_stable2_2021062806666sdy_NG.bin",
      "type":"qt",
      "tests":[
         {
            "test_id":"Test case id",
            "step":"Step No",
            "description":"Test step description",
            "status":"Test step status",
            "reason":"Reason for failure",
            "jira_id":"Jira Id"
         }
      ]
   },
   "finished_at":1623818329089,
   "test_jenkins_url":"http://{jenkins}/job/JOB1/612",
   "boxes":[
      {
         "eSTB_mac":"11:11:11:11:11:11",
         "eCM_mac":"11:11:11:11:11:11",
         "eSTB_ip":"2001:2001:2001:2001:2001:2001:2001:2001",
         "eCM_ip":"2001:2001:2001:2001:2001:2001:2001:2001"
      }
   ]
}

  • Response Code: 200Response Body: Request received and taken for processing.