-
Bug
-
Resolution: Fixed
-
Minor
-
None
If job is created by posting config.xml, even "build when a change is pushed on github" is checked in config, no hook is registered on github.
[JENKINS-14759] Job created by posting config.xml to /createItem does not set GitHub webhook
Resolution | New: Cannot Reproduce [ 5 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Description |
Original:
If job is created and later updated to "build when a change is pushed on github", no hook is registered on github and plugin silently ignore the setting. PushTrigger.start only set the hook for newInstance=true. |
New:
If job is created by posting config.xml, even "build when a change is pushed on github" is checked in config, no hook is registered on github. PushTrigger.start only set the hook for newInstance=true, but for jobs created this way value is false. |
Priority | Original: Major [ 3 ] | New: Minor [ 4 ] |
Summary | Original: when configured after job creation, webhook is not set on github | New: Job created by posting config.xml to /creatIem don't get webhook set on github |
Component/s | New: core [ 15593 ] | |
Component/s | Original: github [ 15896 ] | |
Description |
Original:
If job is created by posting config.xml, even "build when a change is pushed on github" is checked in config, no hook is registered on github. PushTrigger.start only set the hook for newInstance=true, but for jobs created this way value is false. |
New:
If job is created by posting config.xml, even "build when a change is pushed on github" is checked in config, no hook is registered on github. |
Resolution | Original: Cannot Reproduce [ 5 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Summary | Original: Job created by posting config.xml to /creatIem don't get webhook set on github | New: Job created by posting config.xml to /createItem does not set GitHub webhook |
Component/s | New: github [ 15896 ] |
Assignee | Original: Nicolas De Loof [ ndeloof ] | New: Jesse Glick [ jglick ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
PushTrigger.start only set the hook for newInstance=true, but for jobs created from posting config.xml item.onLoad() is used, so newInstance=false
This may require a fix in jenkins core ?