csnate / cctray-jenkins-transport Goto Github PK
View Code? Open in Web Editor NEWAn transport extension for CCTray to use with a Jenkins CI server to monitor and manage projects with authentication
License: MIT License
An transport extension for CCTray to use with a Jenkins CI server to monitor and manage projects with authentication
License: MIT License
As far as I can tell, CCTray did not find it when I put the *.dll in 'extensions' (As the Readme.md recommended)
But when I took it out of the 'extensions' folder and just placed it in the root CCTray folder (Program Files/CCTray) it worked.
One more note, you may want to include a download link to the pre-built *.dll
So i added projects to my ccnet tray from two different jenkins servers. It crashes at this line
if (serverManager.ProjectsAndCurrentStatus[projectName].WebURL != String.Empty)
when looking up the first project on the second server. The error is
'System.Collections.Generic.KeyNotFoundException' occurred in mscorlib.dll
Additional information: The given key was not present in the dictionary.
The Readme mentions that:
If you are using a username and password and you change your password, you cannot update your password (clicking Configure for the server doesn't work again). You have to remove all projects and add the server again.
Users can avoid this. Simply use a Jenkins-issued API Token instead of your password.
Configure
(in the left navbar)Show API Token
I recently changed my AD password (our jenkins server is also connected to AD) and I can log in to jenkins just fine. But even after deleting the build server from CCTray and recreating it (using cctray-jenkins-transport) and entering the new password, the extension seems to send the old password.
After uninstalling CCTray end re-entering everything the login is now ok!
PS: Great extension, thanks!
Configure https jenkins server. Successfully able to connect and select projects. After hitting OK on the settings screen the following error pops up.
Unhandled exception: System.ArgumentNullException: Value cannot be null. Parameter name: key at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Collections.Generic.Dictionary``2.FindEntry(TKey key) at System.Collections.Generic.Dictionary``2.ContainsKey(TKey key) at JenkinsTransport.EnumUtils.GetIntegrationStatus(String color) at JenkinsTransport.Api.GetProjectStatus(XDocument xDoc, ProjectStatus currentStatus) at JenkinsTransport.JenkinsServerManager.<GetCruiseServerSnapshotEx>b__1(JenkinsJob a) at System.Linq.Enumerable.WhereSelectListIterator``2.MoveNext() at System.Collections.Generic.List``1..ctor(IEnumerable``1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable``1 source) at JenkinsTransport.JenkinsServerManager.GetCruiseServerSnapshotEx() at JenkinsTransport.JenkinsTransportExtension.GetProjectWebUrl(String projectName, JenkinsProjectManager manager) at JenkinsTransport.JenkinsTransportExtension.RetrieveProjectManager(String projectName) at ThoughtWorks.CruiseControl.CCTrayLib.Monitoring.CruiseProjectManagerFactory.Create(CCTrayProject project, IDictionary``2 serverManagers) at ThoughtWorks.CruiseControl.CCTrayLib.Configuration.CCTrayMultiConfiguration.GetProjectStatusMonitors(ISingleServerMonitor[] serverMonitors) at ThoughtWorks.CruiseControl.CCTrayLib.Presentation.MainFormController..ctor(ICCTrayMultiConfiguration configuration, ISynchronizeInvoke owner, MainForm mainForm) at ThoughtWorks.CruiseControl.CCTrayLib.Presentation.MainForm.CreateController() at ThoughtWorks.CruiseControl.CCTrayLib.Presentation.MainForm.ReloadConfiguration(Func``1 loadPreferences) at System.Windows.Forms.MenuItem.OnClick(EventArgs e) at System.Windows.Forms.Command.Invoke() at System.Windows.Forms.NotifyIcon.WndProc(Message& msg) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
ccTray 1.8.4.0
cctray-jenkins-transport 1.1.0
Jenkins 2.150.3
Hi there,
I cannot login to jenkins server with address like https://someIP
After giving all the credentials I'm getting following error: Failed to connect to server: The underlying connection was closed: An unexpected error occurred on a send.
Please help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.