Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1646)

Unified Diff: appengine/swarming/server/task_request.py

Issue 2453873002: Add --output option to Swarming client and pass it through to the bot (Closed)
Patch Set: Fix help text for --output Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/server/task_request.py
diff --git a/appengine/swarming/server/task_request.py b/appengine/swarming/server/task_request.py
index ce1aea5f9ec26c6ca69e5b5fdf21adc1ea170463..d3eb8d1d307b69e8d2b6988f467a2c2884ed9a97 100644
--- a/appengine/swarming/server/task_request.py
+++ b/appengine/swarming/server/task_request.py
@@ -420,6 +420,11 @@ class TaskProperties(ndb.Model):
# task.
idempotent = ndb.BooleanProperty(default=False, indexed=False)
+ # A list of outputs expected. If empty, all files written to
+ # $(ISOLATED_OUTDIR) will be returned; otherwise, the files in this list
+ # will be added to those in that directory.
M-A Ruel 2016/10/26 18:47:32 # The path must be in posix form. You must add a
+ outputs = ndb.StringProperty(repeated=True, indexed=False)
+
@property
def is_terminate(self):
"""If True, it is a terminate request."""

Powered by Google App Engine
This is Rietveld 408576698