Jenkins integration with servicenow with approval

Meghana B Srina
Kilo Contributor

We have a Jenkinsfile with multiple stages in it. In the use case, we’re trying to integrate Jenkins and servicenow in a way such that, in one of the Jenkins stages, the approval goes to servicenow and once approved there, control would come back to Jenkins for further deployment stages to continue based on this. In order to do this, do we need to have devops and devops integration plugins? Is it possible to carry out this use case without those plugins, probably by using few api calls from Jenkins/servicenow?

8 REPLIES 8

Chandu Telu
Tera Guru
Tera Guru

Hi Meghana,

Check the below link it may help you

 https://stackoverflow.com/questions/55652532/build-promotion-using-jenkins-upon-servicenow-change-request-approval

Please mark this answer is helpful/correct if it's applicable

Logan Poynter
Mega Sage
Mega Sage

Hello Meghana,

You may find the Jenkins Spoke useful. 


Please mark my answer as correct/helpful if it has helped you.

Thanks,
Logan

Thanks for pointing this out. But, this requires the Jenkins V2 spoke app from the store. And since we are using a developer instance, we do not have access to the store. Is there any other option for achieving this? Does servicenow have any api endpoints using which we can handle the approvals?

Hi Megana,

As your using the personal instance you need to built from the scratch Below links may helpful

https://plugins.jenkins.io/servicenow-cicd/

https://www.jenkins.io/doc/pipeline/steps/servicenow-cicd/

https://plugins.jenkins.io/servicenow-devops/

 

Thnaks

Chandu Telu

Please mark reply as Helpful/Correct, if applicable.