adam-may / hudson-tray-tracker

Automatically exported from code.google.com/p/hudson-tray-tracker
0 stars 0 forks source link

Error in the log when i try to initiate the build through tracker #101

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Selected Project
2.Right Click and hit on Run Build
3.Noting happened. Checked the log and below exception was logged

What is the expected output? What do you see instead?
Build should start. I am able to run the build successfully through web but not 
through tracker

What version of the product are you using? On what operating system?
0.12.3.0 on windows 8.1

Please provide any additional information below.
Here is the exception logged in the log file:
2013-12-20 17:55:17,900 [1] ERROR 
Hudson.TrayTracker.BusinessComponents.HudsonService - WebException - The remote 
server returned an error: (405) Method Not Allowed.
2013-12-20 17:55:17,901 [1] ERROR 
Hudson.TrayTracker.BusinessComponents.HudsonService -    at 
System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at System.Net.WebClient.DownloadString(String address)
   at Hudson.TrayTracker.BusinessComponents.HudsonService.DownloadString(Credentials credentials, String url, Boolean cacheable, Boolean ignoreUntrustedCertificate)
   at Hudson.TrayTracker.BusinessComponents.HudsonService.RunBuild(Project project)
   at Hudson.TrayTracker.BusinessComponents.HudsonService.SafeRunBuild(Project project)

Original issue reported on code.google.com by Yasi...@gmail.com on 20 Dec 2013 at 11:00

GoogleCodeExporter commented 9 years ago
I face this problem myself.

This is most likely caused by the security protected Jenkins instance. Although 
you may be allowed to build the project from the web as anonymous, if global 
security is configured, any type of triggers / build via the URL or remote API 
will fail with error 405.

In order to fix this, the project in Jenkins has to setup an authentication 
token via Project Config > Build Triggers > Trigger builds remotely (e.g., from 
scripts) > Authentication Token.

Hudson Tray Tracker does not support authentication token yet. This is feature 
is in my backlog.

Original comment by zio...@gmail.com on 23 Nov 2014 at 11:00

GoogleCodeExporter commented 9 years ago
This feature is released in version 1.0 of Jenkins Tray. But i suggest you to 
upgrade to the next release as soon as it is available as it contain better UI 
enhancements.

https://github.com/zionyx/jenkins-tray/releases/tag/v1.0

Original comment by zio...@gmail.com on 13 Apr 2015 at 9:01