Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

A Command in PIPEFORCE is a single action as part of an automation.

It can be defined inside an automation pipeline like this:

pipeline:
  - my.command:
      paramKey: paramValue

Or it can be called remotely using the Rest API. Here is an example, how a command can be called via Rest API:

GET https://hub-NAMESPACE.pipeforce.net/api/v3/command:my.command?paramKey=paramValue

A request to this URL would call my.command at server side and finally returns the result of this command. The request parameters will become the command parameters. Any command can be callled using HTTP GET or HTTP POST. In case of HTTP POST, the body of the post request becomes the body to the command.

PIPEFORCE Rest API

Since a command is always a REST API endpoint, the most recent overview of all commands can be found in the PIPEFORCE Rest API documentation:

https://pipeforce.github.io/api.html

Pipeline and Commands Documentation

For more details about commands and automation pipelines, see the documentation pages:

Automation Pipeline and Commands

  • No labels