KBEC-00187 - Performing Commander API operations without CloudBees CD (CloudBees Flow) API

Summary

This article discusses how to perform CloudBees CD (CloudBees Flow) API operation without the CloudBees CD (CloudBees Flow) API.

Discussion

Why not just call the API?

  • It is not installed, I have regular Perl only.
  • I want to use a different language.

Solution

See attached script.

Examples

The script generates XML requests directly and then calls HTTP Post.
It can be ported to any language that has an API for calling HTTP Post.
The script also includes some sample code and instructions on how to “discover” the format of a CloudBees CD (CloudBees Flow) XML request.

REST API is also available as of Commander v.5.2 onwards.

Have more questions?

0 Comments

Please sign in to leave a comment.