stash-jenkins-postreceive-webhook icon indicating copy to clipboard operation
stash-jenkins-postreceive-webhook copied to clipboard

Configuration check triggered every single job in our jenkins environment

Open gabriellezbautista opened this issue 9 years ago • 7 comments

We recently upgraded Stash to 3.9.1 and upgraded Stash Jenkins hook to 2.7.0. When we did the check, it ran all the builds

gabriellezbautista avatar Jul 29 '15 16:07 gabriellezbautista

Every job in your jenkins instance, or every job tied to the one repository whose configuration you were testing?

ashnazg avatar Jul 29 '15 16:07 ashnazg

Every job in the jenkins instance.

Gabrielle Rafael Z. Bautista Technology Delivery Center (TDC) GSCMT Mailboxmailto:[email protected] | Global SCM Team Wikihttp://wiki.web.att.com/display/GSCMTeam/Global+SCM+Team | tSpace Communityhttp://tspace.web.att.com/communities/community/centralscm

Technology Delivery Transformation (TDT) Continue transformation of Software Delivery through enhanced processes and tools that improve quality, productivity and customer satisfaction


From: Chuck Burgess [[email protected]] Sent: Thursday, July 30, 2015 12:41 AM To: Nerdwin15/stash-jenkins-postreceive-webhook Cc: BAUTISTA, GABRIELLE RAFAEL Subject: Re: [stash-jenkins-postreceive-webhook] Configuration check triggered every single job in our jenkins environment (#140)

Every job in your jenkins instance, or every job tied to the one repository whose configuration you were testing?

— Reply to this email directly or view it on GitHubhttps://github.com/Nerdwin15/stash-jenkins-postreceive-webhook/issues/140#issuecomment-126012921.

gabriellezbautista avatar Jul 29 '15 16:07 gabriellezbautista

I don't see how jobs configured against other repositories could be triggered by a notification from this one repository... I'd think that to be a Jenkins bug, unless its hook API is such that it does indeed accept a call in a format that means "trigger everything, without regard to target repo".

ashnazg avatar Jul 29 '15 17:07 ashnazg

Agreed. I'm not sure how the notification could do that. Do you have any access logs to your Jenkins instance showing the URL being sent?

mikesir87 avatar Jul 29 '15 18:07 mikesir87

I will ask the Jenkins admin (I am the Stash admin) :)

gabriellezbautista avatar Jul 29 '15 18:07 gabriellezbautista

We get something similar:

  • we have a repo with multiple Jenkins jobs.
  • many depend on each other hence do not have any Poll SCM checked.
  • many have periodic build set.

Since upgrade we get all jobs triggering on commit. Jenkins ver. 1.596.1 Atlassian Bitbucket v4.1.3

diakula avatar Dec 07 '15 12:12 diakula

We are also experiencing this - we have many jobs pointing to say, a branch named "develop", only one of which has Poll SCM checked. When someone pushes to the branch, all the jobs are triggered, rather than just the job with Poll SCM enabled.

phardakerffdc avatar Dec 14 '15 16:12 phardakerffdc