| Index: appengine/findit/model/base_try_job_data.py
|
| diff --git a/appengine/findit/model/base_try_job_data.py b/appengine/findit/model/base_try_job_data.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..83f288a1d6b80848663f8be7a80bed3dc3a52acf
|
| --- /dev/null
|
| +++ b/appengine/findit/model/base_try_job_data.py
|
| @@ -0,0 +1,32 @@
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +from google.appengine.ext import ndb
|
| +
|
| +
|
| +class BaseTryJobData(ndb.Model):
|
| + """Represents a tryjob's data for a completed try job."""
|
| + # When the try job completed.
|
| + end_time = ndb.DateTimeProperty(indexed=True)
|
| +
|
| + # Error message and reason, if any.
|
| + error = ndb.JsonProperty(indexed=False)
|
| +
|
| + # Error code if anything went wrong with the try job.
|
| + error_code = ndb.IntegerProperty(indexed=True)
|
| +
|
| + # The last buildbucket build response received.
|
| + last_buildbucket_response = ndb.JsonProperty(indexed=False, compressed=True)
|
| +
|
| + # When the try job was created.
|
| + request_time = ndb.DateTimeProperty(indexed=True)
|
| +
|
| + # When the try job began executing.
|
| + start_time = ndb.DateTimeProperty(indexed=True)
|
| +
|
| + # The url to the try job build page.
|
| + try_job_url = ndb.StringProperty(indexed=False)
|
| +
|
| + # An ndb key to the try job entity this data is associated with.
|
| + try_job_key = ndb.KeyProperty(indexed=False)
|
|
|