Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bin/Checkman.zip
Binary file not shown.
5 changes: 3 additions & 2 deletions scripts/cctray.check
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ class CCTray
end

def latest_status
name = [@pipeline, @stage, @job].compact.join(" :: ")
name_components = [@pipeline, @stage, @job].compact

projects = @feed.xpath('//Project').select do |proj|
proj.attr('name').downcase.include?(name.downcase)
project_name_components = proj.attr('name').split(" :: ").map(&:downcase)
name_components.all? { |component| project_name_components.include?(component.downcase) }
end

CCTrayMultiProjectStatus.new(projects)
Expand Down