user812954
user812954

Reputation: 4391

Trigger Jenkins to build when changes are pushed from git

I am trying to get jenkins setup to start a build whenever a push is sent from my local branch to the remote branch.

I believe that I have setup all fields in the Jenkins browser IDE, yet no build is produced when I push to Jenkins.

Via http://blog.cloudbees.com/2012/01/better-integration-between-jenkins-and.html :

Configure System / Github Web Hook: Configure System / Github Web Hook

Project / Configure / Build Triggers:

enter image description here

Upvotes: 0

Views: 285

Answers (1)

user812954
user812954

Reputation: 4391

The check option on "Build when a change is pushed to GitHub" is not working. Although I found a workaround to poll for changes in git every 30 min. Monday through Friday using the "Poll SCM" option and cron input:

enter image description here

Upvotes: 1

Related Questions