Skip to content
Parvesh Mourya edited this page Aug 30, 2022 · 5 revisions

Welcome to the yaml-validator-hook wiki!

Background

This plugin checks invalid yaml files which are pushed to a repository. It has no affect on files which do not have the extension of .yaml.

Installation

Install this plugin from Atlassian Market place.

Insert a picture here of the installed plugin Picture of enabled on repository

Enable

You can enable the plugin on a repository basis. Go to the settings of the repository and in the hooks tab you can enable/disable the plugin:

Put a picture here of the plugin enabled on the repository

Push Reject

Put a picture here of the message the user gets when they receive a push reject

Development

You can develop against this plugin in the normal way you would any Atlassian Plugin, you can see the getting started here: https://developer.atlassian.com/docs/getting-started

Releasing

When you have commit your changes, tested and built a binary you can release the plugin, with the following commands:

atlas-mvn release:prepare

and then:

atlas-mvn release:perform
Clone this wiki locally