Skip to content

ellingbo/stash-jenkins-postreceive-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stash Post-Receive Webhook for Jenkins

After making commits to Stash, notify Jenkins that a new build has been created.

Requirements

  • Git Plugin - Jenkins needs to have the Git Plugin installed in Jenkins

Setup

Once installed, follow these steps:

  • Navigate to a repository in Stash.
  • Hit the Settings link
  • In the left-navigation, hit the Hooks link
  • For the Stash Post-Receive Webhook to Jenkins, click the Enable button.
  • Enter the URL to your Jenkins instance
  • Enter the URL to the Git repository, as it is configured in Jenkins for your project. If you're using ssh in Jenkins, use the SSH clone URL here. Otherwise, use the HTTP URL.
  • Submit the form.
  • Commit some code and watch it trigger a build!

About

Webhook used to notify Jenkins when commits are made to Stash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%