Giter VIP home page Giter VIP logo

Comments (7)

bmoers avatar bmoers commented on July 19, 2024

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.

from sn-cicd-example-v3.

gitlabbin avatar gitlabbin commented on July 19, 2024

@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.

  • looks like related snClient.js getUpdateSetDetails implementation is changed
  • my ServiceNow instance GET https://dev59944.service-now.com/api/now/table/{tableName}
  • no api/swre/cicd/updateset on the ServiceNow instance

any 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

from sn-cicd-example-v3.

bmoers avatar bmoers commented on July 19, 2024

V3 needs the US to be installed. What error did you get when you tried to import the update set?

from sn-cicd-example-v3.

gitlabbin avatar gitlabbin commented on July 19, 2024

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

from sn-cicd-example-v3.

bmoers avatar bmoers commented on July 19, 2024

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

from sn-cicd-example-v3.

gitlabbin avatar gitlabbin commented on July 19, 2024

Thanks, will try out

from sn-cicd-example-v3.

gitlabbin avatar gitlabbin commented on July 19, 2024

👍
Great job, close this issue, @bmoers , thanks for you sort this out.

from sn-cicd-example-v3.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.