Contract Testing: Publish Consumer Contracts
contract-testing_publish_consumer_contractsPublish consumer Pact contracts to Pact Broker or PactFlow with branch and tag metadata for contract testing
Instructions
Publish one or more consumer Pact contracts to the Pact Broker or PactFlow, with branch and tag metadata.
Toolset: Contracts
Parameters:
pacticipantName (string) required: Name of the consumer application
pacticipantVersionNumber (string) required: Version number of the consumer
contracts (array) required: Contracts to publish
tags (array): Version tags (e.g. 'main', 'staging')
branch (string): Branch name of the consumer
buildUrl (string): URL of the CI build that produced these contracts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Version tags (e.g. 'main', 'staging') | |
| branch | No | Branch name of the consumer | |
| buildUrl | No | URL of the CI build that produced these contracts | |
| contracts | Yes | Contracts to publish | |
| pacticipantName | Yes | Name of the consumer application | |
| pacticipantVersionNumber | Yes | Version number of the consumer |