bmoers / sn-cicd-integration

Server Component for CICD
https://github.com/bmoers/sn-cicd/tree/release/4
8 stars 37 forks source link

Build not triggered on completion of some update sets #16

Closed g-matharu closed 3 years ago

g-matharu commented 3 years ago

When CICD property: Ensure the Application records (sys_app) is in every update set. is enabled, build does not trigger in below cases and the update set moves directly to 'Complete'

  1. Update set is in 'global' scope and all the customer updates are also in 'global' scope
  2. Update set in the scope of an application installed from Store or ServiceNow provided plugin
bmoers commented 3 years ago

The app lookup fails as "Global/global" and the ServiceNow Plugins are not in sys_app. The query needs to be changed to point to sys_scope instead

bmoers commented 3 years ago

fixed by https://github.com/bmoers/sn-cicd-integration/pull/17