[JIRA] (JENKINS-61861) Jenkins Job is Triggering twice for a single Commit

18 views
Skip to first unread message

anvesh1402@gmail.com (JIRA)

unread,
Apr 10, 2020, 2:02:04 AM4/10/20
to jenkinsc...@googlegroups.com
Anvesh Ramaswamy created an issue
 
Jenkins / Task JENKINS-61861
Jenkins Job is Triggering twice for a single Commit
Issue Type: Task Task
Assignee: Mark Waite
Attachments: Screenshot 2020-04-09 at 6.53.39 PM.png
Components: git-client-plugin, git-plugin
Created: 2020-04-10 06:01
Priority: Blocker Blocker
Reporter: Anvesh Ramaswamy

Hi Team,

When i am committing the changes to Master it is triggering the Jenkins Job, immediately it is triggering the same job without any changes in the code stating "Started by SCM"

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

anvesh1402@gmail.com (JIRA)

unread,
Apr 10, 2020, 2:02:04 AM4/10/20
to jenkinsc...@googlegroups.com
Anvesh Ramaswamy updated an issue
Change By: Anvesh Ramaswamy
Attachment:
Screenshot 2020-04-09 at 6.53.39 PM.png

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 10, 2020, 3:59:03 AM4/10/20
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
Change By: Mark Waite
Assignee: Mark Waite

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 10, 2020, 4:06:02 AM4/10/20
to jenkinsc...@googlegroups.com
Mark Waite commented on Task JENKINS-61861
 
Re: Jenkins Job is Triggering twice for a single Commit

A job being started twice for the same commit might be an indication that the repository is using both notifyCommit and web hooks. It might be an indication that the repository is being polled in less time than the build requires to complete.

Please provide precise steps that will allow others to duplicate the problem you're reporting. Precise steps include:

  • Type of Jenkins job with the config.xml of the job
  • Type of SCM system used and whether the repository is public or private
  • Type of status notification system configured for the repository (web hooks, notifyCommit, polling, etc.)
  • Contents of a Jenkins support bundle from the support core plugin so that plugin versions are noted and Jenkins configuration is provided
  • Numbered list of steps the user performs which will show the problem on a newly installed Jenkins installation

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 10, 2020, 4:06:03 AM4/10/20
to jenkinsc...@googlegroups.com
Mark Waite edited a comment on Task JENKINS-61861
A job being started twice for the same commit might be an indication that the repository is using both notifyCommit and web hooks.  It might be an indication that the repository is being polled in less time than the build requires to complete.  

Please provide precise steps that will allow others to duplicate the problem you're reporting.  Precise steps include:

* Type of Jenkins job with the config.xml of the job
* Type of SCM system used and whether the repository is public or private
* Type of status notification system configured for the repository (web hooks, notifyCommit, polling, etc.)
* Contents of a Jenkins support bundle from the support core plugin so that plugin versions are noted and Jenkins configuration is provided
* Numbered list of steps the user performs which will show the problem on a newly installed Jenkins
installation

anvesh1402@gmail.com (JIRA)

unread,
Apr 10, 2020, 6:52:02 AM4/10/20
to jenkinsc...@googlegroups.com
Anvesh Ramaswamy updated an issue
Change By: Anvesh Ramaswamy
Attachment: Screenshot 2020-04-10 at 4.15.23 PM.png

anvesh1402@gmail.com (JIRA)

unread,
Apr 10, 2020, 6:52:02 AM4/10/20
to jenkinsc...@googlegroups.com
Anvesh Ramaswamy commented on Task JENKINS-61861
 
Re: Jenkins Job is Triggering twice for a single Commit

Hi Mark, 

 

We are using Jenkins Version 1.609.3, and please find the git plugin versions info in attached screen shot. Can you help me with the steps to proceed to resolve that issue

 

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 10, 2020, 10:17:02 AM4/10/20
to jenkinsc...@googlegroups.com

No, Anvesh Ramaswamy, I cannot help you with any steps to proceed to resolve the issue. I requested 5 items and you provided far less than 1 of the items I requested.

I help Jenkins users on my personal time. When you fail to provide all the information I request, it tells me that you're really not committed to receiving my help.

Since you're running a Jenkins version that is many years old and a git plugin that is many years old, you should expect to do significant work of your own before I or anyone else will be willing to assist.

The information you provide in the issue report needs to be sufficiently detailed that it persuades me that you are investing enough of your time to justify that I should invest some of my time. You've not shown that. I will not engage in a long series of questions and answers about the issue unless you persuade me that the issue is very interesting to me.

If you decide that it is not worth enough of your time to provide that information, then let's agree that we'll close this issue as "cannot reproduce".

anvesh1402@gmail.com (JIRA)

unread,
Apr 12, 2020, 9:29:02 AM4/12/20
to jenkinsc...@googlegroups.com

Hi Mark, could you please help me in detail, what are the thing you require to investigate the issue. Kindly help me on this please

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 12, 2020, 9:48:04 AM4/12/20
to jenkinsc...@googlegroups.com

I listed the items you'll need to provide Anvesh Ramaswamy in my earlier comment. Based on the information you've provided since then, you'll also need to describe the following items:

  • Numbered list of steps the user performs which will show the problem on a newly installed Jenkins (not provided yet)
  • Type of Jenkins job with the config.xml of the job (not provided yet)
  • Type of SCM system used and whether the repository is public or private (not provided yet)
  • Type of status notification system configured for the repository (web hooks, notifyCommit, polling, etc.) (not provided yet)
  • Contents of a Jenkins support bundle from the support core plugin so that plugin versions are noted and Jenkins configuration is provided (not provided yet, may not be possible with that ancient Jenkins version, then will need to provide the same information without using the support core plugin)
  • Can you see the same problem on a current Jenkins version (2.222.1) with current plugins (git plugin 4.2.2, git client plugin 3.2.1)

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 12, 2020, 5:31:03 PM4/12/20
to jenkinsc...@googlegroups.com
Mark Waite edited a comment on Task JENKINS-61861
I listed the items you'll need to provide [~anvesh1402] in my [earlier comment|https://issues.jenkins-ci.org/browse/JENKINS-61861?focusedCommentId=388825&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-388825].  Based on the information you've provided since then, you'll also need to describe the following items:

* Numbered list of steps the user performs which will show the problem on a newly installed Jenkins (not provided yet)
* Type of Jenkins job with the config.xml of the job (not provided yet)
* Type of SCM system used and whether the repository is public or private (not provided yet)
* Type of status notification system configured for the repository (web hooks, notifyCommit, polling, etc.) (not provided yet)
* Contents of a Jenkins support bundle from the support core plugin so that plugin versions are noted and Jenkins configuration is provided (not provided yet, may not be possible with that ancient Jenkins version, then will need to provide the same information without using the support core plugin)
* Can you see the same problem on a current Jenkins version (2.222.1) with current plugins (git plugin 4.2.2, git client plugin 3.2.1)

(not provided yet)

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 14, 2020, 6:14:02 PM4/14/20
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Cannot Reproduce
 

I won't investigate issues on Jenkins 1.6xx or on git plugin 2.x. Too old.

Change By: Mark Waite
Status: Open Closed
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages