Spotted an oddity with checkman today - it's reporting that one of our builds, redis-release has failed, but when we go to the build server, it's passed.
Looking at what GoCD returns, for our project I see the following:
<Projectname="redis-release :: <...>"activity="Sleeping"lastBuildStatus="Success"lastBuildLabel="<...>"lastBuildTime="2015-06-13T12:09:59"webUrl="<...>" />
However, there is another project with the following:
<Projectname="cf-redis-release :: <...>"activity="Sleeping"lastBuildStatus="Failure"lastBuildLabel="<...>"lastBuildTime="2015-06-13T12:55:58"webUrl="<...>">
Looking at cctray.check, I guess it's the following code causing the problem:
projects=@feed.xpath('//Project').selectdo |proj|
proj.attr('name').downcase.include?(name.downcase)endDoes that need to be include? or would start_with? or == be OK too?
May also be showing up because cf-redis-release has a more recent build than redis-release.
Spotted an oddity with checkman today - it's reporting that one of our builds,
redis-releasehas failed, but when we go to the build server, it's passed.Looking at what GoCD returns, for our project I see the following:
However, there is another project with the following:
Looking at
cctray.check, I guess it's the following code causing the problem:Does that need to be
include?or wouldstart_with?or==be OK too?May also be showing up because
cf-redis-releasehas a more recent build thanredis-release.