Skip to content

Commit

Permalink
Subrelease support for Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Peet committed Dec 15, 2013
1 parent a3c561f commit 2fa7e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/loader/interfaces/jenkins_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def getVersion (i):
if out: return out

if isinstance(i, (basestring, str)):
m = re.search('[0-9].[0-9].[0-9]{1,2}', i)
m = re.search('[[0-9].[0-9].[0-9]{1,2}(-R[0-9].[0-9])?', i)
if m: return m.group(0)

return False
Expand Down

0 comments on commit 2fa7e66

Please sign in to comment.