Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38669

SCM (Git) Will Not Notify Pipeline Before Execution

      I work in bitbucket which uses a hook to notify our jenkins server on commit (or if manually triggered in a pull request). I've noticed that, when I make a new pipeline job from SCM (git), onNotifyCommit won't look at the new job until after I've manually run the job and it has completed.

      A bit more details on the job:

      • I did specify an empty poll interval, which allowed my other maven jobs to be properly notified.
      • I haven't specified any additional behaviors

      Since the job has the SCM information built directly into the pipeline job, shouldn't onNotifyCommit properly find and notify the new job without needing execution?

          [JENKINS-38669] SCM (Git) Will Not Notify Pipeline Before Execution

          Dayton Gomez created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Vivek Pandey made changes -
          Labels Original: pipeline scm New: pipeline scm triaged-2018-11
          Devin Nusbaum made changes -
          Component/s New: workflow-api-plugin [ 21711 ]
          Component/s New: workflow-job-plugin [ 21716 ]
          Component/s Original: pipeline [ 21692 ]
          Devin Nusbaum made changes -
          Remote Link New: This issue links to "jenkinsci/workflow-api-plugin#111 (Web Link)" [ 24100 ]
          Devin Nusbaum made changes -
          Remote Link New: This issue links to "jenkinsci/workflow-cps-plugin#341 (Web Link)" [ 24101 ]
          Devin Nusbaum made changes -
          Remote Link New: This issue links to "jenkinsci/workflow-job-plugin#147 (Web Link)" [ 24102 ]
          Devin Nusbaum made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Devin Nusbaum made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Devin Nusbaum made changes -
          Assignee New: Angry Gami [ angrygami ]
          Jesse Glick made changes -
          Component/s New: workflow-cps-plugin [ 21713 ]

            angrygami Angry Gami
            dgomez Dayton Gomez
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: