unsupported alert for robot selection
This commit is contained in:
parent
1b953c8cd6
commit
c8b931609e
4 changed files with 16 additions and 6 deletions
|
@ -373,6 +373,10 @@ class BuildTriggerAnalyze(RepositoryParamResource):
|
|||
'status': 'error',
|
||||
'message': rre.message
|
||||
}
|
||||
except NotImplementedError:
|
||||
return {
|
||||
'status': 'notimplemented',
|
||||
}
|
||||
|
||||
raise NotFound()
|
||||
|
||||
|
|
|
@ -66,14 +66,14 @@ class BuildTrigger(object):
|
|||
"""
|
||||
Returns the URL at which the Dockerfile for the trigger is found or None if none/not applicable.
|
||||
"""
|
||||
return None
|
||||
raise NotImplementedError
|
||||
|
||||
def load_dockerfile_contents(self, auth_token, config):
|
||||
"""
|
||||
Loads the Dockerfile found for the trigger's config and returns them or None if none could
|
||||
be found/loaded.
|
||||
"""
|
||||
return None
|
||||
raise NotImplementedError
|
||||
|
||||
def list_build_sources(self, auth_token):
|
||||
"""
|
||||
|
|
Reference in a new issue