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

github webhook not working with dynamic feature branch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • github-plugin
    • Jenkins ver. 2.138.2
      Github Plugin 1.29.3

      I am using sandbox groovy and defining branch = '/*' 

      pushing to master branch why github push is looking for 

      refs/remotes/origin/feature/jenkins-001

       

      If manually I using master branch as parameter. After that it always looks for master even I push on feature Branch.

      Last GitHub Push

      Started on Oct 16, 2018 8:41:43 AM Started by event from IP ⇒

      http://jenkins:8080/github-webhook/

      on Tue Oct 16 08:41:43 UTC 2018 Using strategy: Default [poll] Last Built Revision: Revision dcdb9e24c6595de1c0af8d8ede5ef3asdfsdfasdf (refs/remotes/origin/feature/jenkins-001) > git --version # timeout=10 using GIT_ASKPASS to set credentials github > git ls-remote -h

      https://github.com/demo.git

      1. timeout=10 Found 6 remote heads on

      https://github.com/prasantkumar-ext/miq-uidh-sap.git

      [poll] Latest remote head revision on refs/heads/feature/jenkins-001 is: dcdb9e24c6595de1c0af8d8ede5ef33f16ca95f2 - already built by 46 Done. Took 2.5 sec No changes

            lanwen Kirill Merkushev
            crazypks Prasant Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: