Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Summary

Any CLI actions can be run as a post hook on a repository.

Steps

This assumes Run CLI Actions in Stash has been installed and licensed.

Table plus
autoNumbertrue
Step
Go to the repository
Go to Settings 

In the Post receive section, find Atlassian CLI Action hook

Select Enable to get the configuration screen
Select the Product
Add the CLI action or actions you want to run

Screen Shots

Image RemovedImage RemovedThere are 2 primary ways to use this add-on.

  1. Workflow post function to run CLI actions on a transition - see CLI Post Function and CLI Validator
  2. Administrator UI for running CLI actions directly - see Administrator UI to Run CLI Actions