Skip to content

Commit bb906a2

Browse files
authored
Update README.md
1 parent 01b95d5 commit bb906a2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Stash Http Request Trigger
22

3-
[![Join the chat at https://gitter.im/wparad/stash-http-request-trigger](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/wparad/stash-http-request-trigger?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4-
5-
[![Build Status](https://travis-ci.org/wparad/stash-http-request-trigger.svg?branch=master)](https://travis-ci.org/wparad/stash-http-request-trigger)
6-
7-
[Changelog](./CHANGELOG.md)
3+
[![Join the chat at https://gitter.im/wparad/stash-http-request-trigger](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/wparad/stash-http-request-trigger?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/wparad/stash-http-request-trigger.svg?branch=master)](https://travis-ci.org/wparad/stash-http-request-trigger)
84

95
After making commits to Stash, this plugin will make a Http POST request to a specified URL, adding in query parameters for the Source Ref and Source Sha. This plugin listens to both the main repository and all pull-requests.
106

7+
* [Current Releases](https://github.com/wparad/stash-http-request-trigger/releases)
8+
* [Changelog](./CHANGELOG.md)
9+
1110
##Background
1211
While attempting to migrate source control to stash and and build to jenkins I noticed that there wasn't a good way of having Stash be the source of truth and Jenkins build one time for every commit. In essence having Jenkins work like Travis-CI. There were a bunch of Stash plugins some which could listen for Forked-repository pull requests and some that would send commit information. The Jenkins Post-Receive plugin for Stash did everything correct except attempt to start Jenkins polling. Jenkins polling is useless, and I am not sure what problem it solves. I want to build every commit and every pull-request, and I thought it wasn't a problem that would be hard to solve. Fortunately if you pass a sha as the branch (the Jenkins GIT Plugin GIT_BRANCH parameter), the plugin confusingly enough will build that sha in a detached mode. The only explanation I have for this is that git supports that functionality innately, so the plugin does too.
1312

0 commit comments

Comments
 (0)