Coder Social home page Coder Social logo

csnate / cctray-jenkins-transport Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 5.0 1.36 MB

An transport extension for CCTray to use with a Jenkins CI server to monitor and manage projects with authentication

License: MIT License

C# 4.16% HTML 95.83% Batchfile 0.01%

cctray-jenkins-transport's People

Contributors

csnate avatar nrjohnstone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cctray-jenkins-transport's Issues

Installation folder 'extensions' no longer needed in latest CC version

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

Crash when projects from two different jenkins servers are added

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.

Update Readme.md with password expiration workaround

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.

  1. Log into Jenkins
  2. Click your username (in the upper right corner)
  3. Click Configure (in the left navbar)
  4. Click Show API Token
  5. Use this token in place of your password when setting up the Jenkins Transport settings

Password seems to be cached?

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!

ArgumentNullException saving settings

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

I cannot login to https jenkins server

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.