)]}'
{
  "commit": "43086e18c297ea0c42acd32db3bd1ed72638c1f5",
  "tree": "2a86828bcbce13aa1f9b268c100d649306b33c4c",
  "parents": [
    "8d81642e40b8e5b074ca6ad5ecece74e2f319c62"
  ],
  "author": {
    "name": "Carmelo Cascone",
    "email": "carmelo@opennetworking.org",
    "time": "Mon Mar 23 19:29:04 2020 -0700"
  },
  "committer": {
    "name": "Carmelo Cascone",
    "email": "carmelo@opennetworking.org",
    "time": "Tue Mar 24 10:09:41 2020 -0700"
  },
  "message": "Skip service upgrade test if the xos-core version requirements don\u0027t match\n\nThis is a first attempt at making the service upgrade job aware of the\nxos-core version, and to allow merging service patches that require\nxos-core 4.0.0.\n\nThe current implementation verifies that the `core_version` string found\nin the released service\u0027s config.yaml is the same found in the patchset\nto verify. If not, return SUCCESS immediately.\n\nFor example, given a released and patchset config.yaml\u0027s core_version\nproperty:\n- if RELEASED \u003d\u003d \"\u003e\u003d3.2.0\" \u0026\u0026 PATCHSET \u003d\u003d \"\u003e\u003d3.2.0\" -\u003e RUN\n- if RELEASED \u003d\u003d \"\u003e\u003d3.2.0\" \u0026\u0026 PATCHSET \u003d\u003d \"\u003e\u003d4.0.0\" -\u003e SKIP (success)\n- if RELEASED \u003d\u003d \"\u003e\u003d3.2.0\" \u0026\u0026 PATCHSET \u003d\u003d \"\u003d3.2.0\"  -\u003e SKIP (success)\n- if RELEASED \u003d\u003d \"\u003e\u003d3.2.0\" \u0026\u0026 PATCHSET \u003d\u003d \"\u003e\u003d3.2\"   -\u003e SKIP (success)\n- if RELEASED \u003d\u003d \"\u003e\u003d3.2.0\" \u0026\u0026 PATCHSET \u003d\u003d \"foobar\"  -\u003e SKIP (success)\n\nA smarter implementation could parse the string and use semver logic to\ndecide (1) whether it exists a version of xos-core that satisfies both\nthe released and patchset requirement, (2) deploy that version of\nxos-core, and (3) run the pipeline. However, such and implementation\nsmells of canned worms, so we keep things simple for now...\n\nChange-Id: I2cc1be579398c84d4e8c44c333be20e012884e20\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "35075b0322aed91420e899356ce72bdb0f56fa3f",
      "old_mode": 33188,
      "old_path": "jjb/pipeline/xos-service-upgrade.groovy",
      "new_id": "12fb69b8e0fb49246336b2efe5a982dd1f088b7d",
      "new_mode": 33188,
      "new_path": "jjb/pipeline/xos-service-upgrade.groovy"
    }
  ]
}
