<commit_before>This is simple example of how to create a plugin for Stash that will trigger a URL webhook in Jenkins.

When running Stash add the following to your command line arguments:

    -Dwebhook.url=http://localhost:8080/jenkins/git/notifyCommit?url=$URL&branches=$BRANCHES

Where $URL will be replaced with the HTTP url of the repository, and $BRANCHES contains a comma separated list of branches.

To build this plugin use the standard Atlassian Plugin SDK and/or run:

    mvn install

And upload `target/stash-webhook-plugin-1.0.0-SNAPSHOT.jar` to Stash.<commit_msg>Add note about maven 2.1.0<commit_after>This is simple example of how to create a plugin for Stash that will trigger a URL webhook in Jenkins.

When running Stash add the following to your command line arguments:

    -Dwebhook.url=http://localhost:8080/jenkins/git/notifyCommit?url=$URL&branches=$BRANCHES

Where $URL will be replaced with the HTTP url of the repository, and $BRANCHES contains a comma separated list of branches.

To build this plugin use the standard Atlassian Plugin SDK and/or run the following (*must* be Maven 2.1.0):

    mvn install

And upload `target/stash-webhook-plugin-1.0.0-SNAPSHOT.jar` to Stash.
{'fraction_non_alphanumeric': 0.0695940347970174, 'fraction_numerical': 0.016570008285004142, 'mean_word_length': 4.417040358744394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5574100', 'n_tokens_mistral': 380, 'n_tokens_neox': 357, 'n_words': 153}