I had the same. Make sure that build triggers in job configuration:

  • Build when a change is pushed to GitHub - is not checked (I had it enabled and it caused ${sha1} not to be set, which makes sense as this checkbox is for "Github plugin", not for "GitHub pull request builder plugin" and reacts for every push),
  • GitHub Pull Request Builder - is checked and reacts only for pull reqests and issue comments (webhook setup done automatically by Jenkins).

Verify also Webhook in your project settings:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to