X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cdd94fae8d40ad6dcee3de5d36de2d89921fd12d..c806ef1:/doc/api/methods/jobs.html.textile.liquid diff --git a/doc/api/methods/jobs.html.textile.liquid b/doc/api/methods/jobs.html.textile.liquid index 879feb43af..539a4a0d3c 100644 --- a/doc/api/methods/jobs.html.textile.liquid +++ b/doc/api/methods/jobs.html.textile.liquid @@ -120,6 +120,26 @@ Arvados should re-use a previous job if the "script_version" of the previous job } +The same behavior, using filters: + +
+{
+  "job": {
+    "script": "hash.py",
+    "repository": "you",
+    "script_version": "master",
+    "script_parameters": {
+      "input": "c1bad4b39ca5a924e481008009d94e32+210"
+    }
+  },
+  "filters": [["script", "=", "hash.py"],
+              ["repository", "=", "you"],
+              ["script_version", "in git", "earlier_version_tag"],
+              ["script_version", "not in git", "blacklisted_version_tag"]],
+  "find_or_create": true
+}
+
+ Run the script "crunch_scripts/monte-carlo.py" in the repository "you" using the current "master" commit. Because it is marked as "nondeterministic", this job will not be considered as a suitable candidate for future job submissions that use the "find_or_create" feature.