Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Sep 9, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 20 Dec 2013 at 11:00

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 23 Nov 2014 at 11:00

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 13 Apr 2015 at 9:01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant