Revert "Allow CI/CD Jobs being grouped on version strings"
This reverts commit 4f2cdb51df
.
This commit is contained in:
parent
eaed588bf2
commit
16ea3315f2
|
@ -141,7 +141,7 @@ class CommitStatus < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def group_name
|
def group_name
|
||||||
name.to_s.gsub(%r{\d+[\.\s:/\\]+\d+\s*}, '').strip
|
name.to_s.gsub(%r{\d+[\s:/\\]+\d+\s*}, '').strip
|
||||||
end
|
end
|
||||||
|
|
||||||
def failed_but_allowed?
|
def failed_but_allowed?
|
||||||
|
|
|
@ -368,9 +368,7 @@ describe CommitStatus do
|
||||||
'rspec:windows 0 : / 1' => 'rspec:windows',
|
'rspec:windows 0 : / 1' => 'rspec:windows',
|
||||||
'rspec:windows 0 : / 1 name' => 'rspec:windows name',
|
'rspec:windows 0 : / 1 name' => 'rspec:windows name',
|
||||||
'0 1 name ruby' => 'name ruby',
|
'0 1 name ruby' => 'name ruby',
|
||||||
'0 :/ 1 name ruby' => 'name ruby',
|
'0 :/ 1 name ruby' => 'name ruby'
|
||||||
'golang test 1.8' => 'golang test',
|
|
||||||
'1.9 golang test' => 'golang test'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tests.each do |name, group_name|
|
tests.each do |name, group_name|
|
||||||
|
|
Loading…
Reference in New Issue