stable

Clone or download

Read-only

Send a notification to Jenkins to trigger a job of from the Tuleap Plugin Branch Source

This is part of story #14019 automate jenkins job creation & run How to test: - Make sure to have a Jenkins with the Tuleap branch source plugin installed - Add the webhook URL in Tuleap - Push some content in your git repository => In log of the hudson_git plugin, you should see the stack trace which explain what happened. Change-Id: I300fec2b35eefb6b32d1ff3e59264b4d705aa005

Modified Files

Name
M plugins/hudson_git/include/HudsonGit/Hook/HookTriggerController.php +4 −2 Go to diff View file
M plugins/hudson_git/include/HudsonGit/Hook/JenkinsClient.php +86 −13 Go to diff View file
A plugins/hudson_git/include/HudsonGit/Hook/JenkinsTuleapBranchSourcePluginHook/JenkinsTuleapPluginHookPayload.php +57 −0 Go to diff View file
M plugins/hudson_git/include/hudson_gitPlugin.php +11 −7 Go to diff View file
M plugins/hudson_git/phpunit/HudsonGit/Hook/HookTriggerControllerTest.php +2 −0 Go to diff View file
M plugins/hudson_git/phpunit/HudsonGit/Hook/JenkinsClientTest.php +87 −4 Go to diff View file
A plugins/hudson_git/phpunit/HudsonGit/Hook/JenkinsTuleapBranchSourcePluginHook/JenkinsTuleapPluginHookPayloadTest.php +50 −0 Go to diff View file