stable

Clone or download

Read-only

request #9377: Misleading error message when a job URL can not accessed

The real cause of the error message is now given in the same way than for the webhooks. This contribution also bring verification of the certification when HTTPS is used. How to reproduce: 1. Create a new job with the URL https://tuleap.example.com and submit 2. You will get a message saying the file can not be found when in fact the hostname can not resolved Change-Id: Ibac7e269c38503a84c3708138e0ff9b4ca43ae20

Modified Files

Name
M plugins/hudson/include/HudsonBuild.class.php +23 −39 Go to diff View file
M plugins/hudson/include/HudsonJob.class.php +25 −65 Go to diff View file
M plugins/hudson/include/HudsonJobFactory.class.php +14 −9 Go to diff View file
M plugins/hudson/include/HudsonTestResult.class.php +19 −39 Go to diff View file
M plugins/hudson/include/hudsonActions.class.php +3 −2 Go to diff View file
M plugins/hudson/include/hudsonPlugin.class.php +28 −10 Go to diff View file
M plugins/hudson/include/hudsonViews.class.php +3 −2 Go to diff View file
M plugins/hudson/include/hudson_Widget_JobLastArtifacts.class.php +8 −6 Go to diff View file
M plugins/hudson/include/hudson_Widget_JobTestResults.class.php +10 −8 Go to diff View file
M plugins/hudson/include/hudson_Widget_JobTestTrend.class.php +10 −8 Go to diff View file
M plugins/hudson/include/hudson_Widget_MyMonitoredJobs.class.php +15 −12 Go to diff View file
M plugins/hudson/tests/HudsonBuildTest.php +9 −12 Go to diff View file
M plugins/hudson/tests/HudsonJobTest.php +23 −19 Go to diff View file
M plugins/hudson/tests/HudsonTestResultTest.php +13 −14 Go to diff View file