ServiceNow CICD plugin for Jenkins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 07:41 AM
I was trying out ServiceNow CICD plugin in jenkins by following the documents as per links here[1][2][3]. I have done the setup according to this and the pipeline is getting triggered in jenkins. However, in snPublishApp(), the stage is giving the below error:
START: ServiceNow - Publish the specified application
java.lang.NullPointerException
Checking progress..
Publishing DONE but failed: SNC apps must be registered before upload to AppRepo
If I try to manually publish the app from the ServiceNow studio, I get this error:
"Internal and Store Uploading has been disabled. Please contact your instance administrator."
Is the publishing not allowed since I'm using a Personal Developer Instance (PDI)?
I also tried snInstallApp() stage by passing the publishedAppVersion as a parameter in Jenkinsfile with global scope. But that also ends with the error below:
START: ServiceNow - Install the specified application (version: 1.0)
Error occurred when installation of the application was requested: A Custom Application record with the requested scope is already present on the instance. Convert to a Store Application via the Custom Application form in order to install new versions from Application Repository.
Is there anything that I'm missing? How do I get the app published on the PDI?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2022 10:28 PM
Hi
Thanks for your quick response.
However, In my use-case I need to push the data from Jenkins to Servicenow using some API calls. But I am not sure which API could help me in doing this and how/where does actually the data will gets stored.
Like for example, I need to store the data of Checkout, Build, Test stage in Servicenow.
Also, Not very confident if I need a jenkins plugin in case of API calls.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2022 06:58 AM
Hi
Not sure if this is what you are looking for- https://github.com/jenkinsci/service-now-plugin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2022 07:26 AM
Hi
I have gone through this CICD plugin but not sure how to implement it.
In my use-case I need to use some API that could help me to publish the jenkins data of multiple stages into ServiceNow. Instead of configuring any credentials or connections in Servicenow to discover the the data from there.
However, I am not sure of the API that could be used to achieve this.
Kindly advise if you have any idea as per my use-case

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2022 11:37 PM
In my use-case I need to use some API that could help me to publish the jenkins data of multiple stages into ServiceNow.---> This will be held in some of the servicenow tables which will come with Service Now DevOps Application
Instead of configuring any credentials or connections in Servicenow to discover the the data from there.--> Its fine but you need to explore the data of Jenkins and Service Now Dev Ops Table so that you can map the data if you do not want to use OOTB Integration.
Regards
RP