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

Jenkins Github trigger doesnt work unless build start manually

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • github-plugin, pipeline
    • None
    • Jenkins 2.32.1-0 (Bitnami ami-6c687a7b)
      Ubuntu 14.04
      AWS

      I have a Jenkins Pipeline setup to build when a trigger is received from Github which works as expected. Once I make a push to GitHub, it triggers the pipeline using the Jenkinsfile. HOWEVER, I setup a new pipeline and found out that it receives the POST event showing:

      "Received POST for https://<enterprise-github>/org/repo"
      

      Along with:

      GitHub webhooks activated for job <repo> with [] (events: [PUSH, REPOSITORY])
      

      but doesnt poke GitHub. BUT, when I trigger the build manually using "Build now" and I perform any pushes after that, the triggers work and I am able to trigger builds. In other words, I cant get the pipeline to be triggered on push unless I do a manual build first. Is there any way around this? This seems like a small inconvenience to have to manually build first

            lanwen Kirill Merkushev
            dshin192 dale shin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: