Skip to content
Snippets Groups Projects
Unverified Commit 16ea3315 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg
Browse files

Revert "Allow CI/CD Jobs being grouped on version strings"

This reverts commit 4f2cdb51.
parent eaed588b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -141,7 +141,7 @@ class CommitStatus < ActiveRecord::Base
end
 
def group_name
name.to_s.gsub(%r{\d+[\.\s:/\\]+\d+\s*}, '').strip
name.to_s.gsub(%r{\d+[\s:/\\]+\d+\s*}, '').strip
end
 
def failed_but_allowed?
Loading
Loading
Loading
Loading
@@ -368,9 +368,7 @@ describe CommitStatus do
'rspec:windows 0 : / 1' => 'rspec:windows',
'rspec:windows 0 : / 1 name' => 'rspec:windows name',
'0 1 name ruby' => 'name ruby',
'0 :/ 1 name ruby' => 'name ruby',
'golang test 1.8' => 'golang test',
'1.9 golang test' => 'golang test'
'0 :/ 1 name ruby' => 'name ruby'
}
 
tests.each do |name, group_name|
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment