Trigger DEMOTE outside the mainframe using Jenkins Pipeline

Hello,

We are able to trigger the demote process by using the Skeleton inside the mainframe without issue. However, application team would like We have a User that is looking to create a Jenkins pipeline that will be initiated by a Package Promote on ZMF. The pipeline will execute a test off-mainframe and if the results are bad, they wish to initiate a Package Demote from the same pipeline. We know how to post an event from the mainframe via skeletons, but how does this work in the other direction.

We are looking for code examples to execute the Package Demote(or any REST service) from a Jenkins script.

Thank you!

David

Labels:

ChangeMan ZMF