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

NPE thrown while configuring github pull request trigger on a pipeline

      I am trying to create a Pipeline job for a github project and while configuring the Build Trigger with a Build Github Pull Request the Save is causing a NPE.

      In the pipeline I have provided the git project URL and PR trigger with a Cron tabline of '* * * * *' and trigger mode 'CRON with persisted data'. I tried varying the trigger mode and cron tabline settings but I always get the NPE.

      As an experiment, I created a new Freestyle project and I noticed that for the style of project one is presented with the 'Source Code Management' block where one picks the repo and credentials, as well as the git project URL and the githhub pull request parameters. I am able to save that project.

      For the pipeline job the git repo is being clone in the pipeline code.

          [JENKINS-38454] NPE thrown while configuring github pull request trigger on a pipeline

          Pete Hale created issue -
          Pete Hale made changes -
          Epic Link New: JENKINS-31152 [ 165808 ]
          Andrew Bayer made changes -
          Epic Link Original: JENKINS-31152 [ 165808 ]
          Andrew Bayer made changes -
          Component/s New: workflow-job-plugin [ 21716 ]
          Component/s Original: pipeline [ 21692 ]
          Andrew Bayer made changes -
          Assignee New: Andrew Bayer [ abayer ]
          Pete Hale made changes -
          Attachment New: test-dh-git-status.zip [ 34055 ]
          Kanstantsin Shautsou made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-45067 [ JENKINS-45067 ]

            abayer Andrew Bayer
            peternhale Pete Hale
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: