Closed gitlabbin closed 5 years ago
With version 3 the API has changed Post the payload in the structure like https://github.com/bmoers/sn-cicd-example-v3/blob/master/payload.json to https://localhost:8443/run
Also 'updateSet' and 'application' are mandatory to have the process start.
@bmoers Thanks for your update, rest client send payload with http 200 OK, the job triggered, but on server console, we can see the job failed, please check the update information with this ticket.
snClient.js
getUpdateSetDetails
implementation is changedGET https://dev59944.service-now.com/api/now/table/{tableName}
api/swre/cicd/updateset
on the ServiceNow instanceany config wrong or work around please? Tried using: https://github.com/bmoers/sn-cicd-integration/blob/master/update_set/CICD%20Integration.xml, but failed to import this updateset
thanks BC
V3 needs the US to be installed. What error did you get when you tried to import the update set?
Preview failed:
Cannot commit Update Set 'CICD Integration - 1.1.2' because: Update scope id '733fb769db382f4076d6b94ffe96199f' is different than update set scope id 'global'. Resolve the problem before committing.
Could not find a record in sys_scope for column sys_scope referenced in this update
change update_set/CICD Integration.xml
, delete
sys_auth_profile_basic_adbf2723db34e380432cfc600f96190e
sys_auth_profile_basic_91a53b23db34e380432cfc600f96197f
related xml part, made the preview pass and committed this updateset, not sure this way right or not
please run npm update
to get the latest version of sn-cicd. The default namespace has changed to 'devops'. You should have an https://dev59944.service-now.com/api/devops/cicd/updateset API
Thanks, will try out
👍 Great job, close this issue, @bmoers , thanks for you sort this out.
Post a json payload to https://localhost:8443/run, client got 200 ok, but server console log show a lot of error
Server console failed:
"Requested URI does not represent any resource: /swre/cicd/updateset/87294fd0dbb12300f526d426ca961912",