BuildReactor icon indicating copy to clipboard operation
BuildReactor copied to clipboard

Can't get it working with GoCD

Open claresudbery opened this issue 7 years ago • 5 comments

Hi I am trying to get BuildReactor working with GoCD. I have entered the url of the build server, and the user name and password, and clicked Save. Now what? When I click Show, nothing happens. When I click Dashboard, all I see is a blank black screen with GoCD written in yellow at the top. There is a section at the bottom of the config called "Monitored Builds" but it is empty. Is there supposed to be something listed here? I can't find any documentation to give me any guidance... Cheers Clare.

claresudbery avatar Jan 02 '18 19:01 claresudbery

First the "Show" has to work so you can select builds to monitor. I'd expect error message to show up, anything showing up in the console of the settings page or background page?

AdamNowotny avatar Jan 07 '18 12:01 AdamNowotny

screen shot 2018-06-22 at 11 15 15

Nothing in the console as well. Trying to make it work with GoCD.

Steps:

  1. Selected GoCD
  2. Added the URL

I should have gotten the show option, can't seem to find.

shwetado avatar Jun 22 '18 05:06 shwetado

Must be some problem in the background page then. On the Chrome extensions page enable "developer mode", then "inspect views: background page" and check if there are any error in the console there. Currently GoCD is just using the cctray interface and just modifying the URL so you could also try the "CCTray generic" type specifying the URL to the XML API and see if that works. Perhaps the location changed in recent versions, haven't used GoCD in a while. The code is at https://github.com/AdamNowotny/BuildReactor/blob/master/src/services/go/go.js - the only changes compared to cctray is different icons and adding "cctray.xml" to the URL entered

AdamNowotny avatar Jun 26 '18 23:06 AdamNowotny

Hi I've just configured buildReactor with GoCD, in my case the problem was the url, instead of inserting http://gocd_url/ you should put http://gocd_url/go.

To be sure the url is working, try access to cctray.xml file (ex: http://gocd_url/go/cctray.xml)

SouGrati avatar Sep 04 '19 13:09 SouGrati

Yes, using just the cctray API is more flexible, the only drawback is that the icon used in notifications would just be a generic one.

AdamNowotny avatar Sep 04 '19 22:09 AdamNowotny