From eded84b99309a2cc84ba5cabb29c8f218cbcb599 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Fri, 18 Apr 2014 22:24:51 -0400 Subject: [PATCH] Fix up job create/cancel descriptions. --- doc/api/methods/jobs.html.textile.liquid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/methods/jobs.html.textile.liquid b/doc/api/methods/jobs.html.textile.liquid index 59d9b6d8ff..60d5a9e40a 100644 --- a/doc/api/methods/jobs.html.textile.liquid +++ b/doc/api/methods/jobs.html.textile.liquid @@ -14,7 +14,7 @@ Required arguments are displayed in %{background:#ccffcc}green%. h2. cancel -cancel jobs +Cancel a job that is queued or running. Arguments: @@ -35,7 +35,7 @@ table(table table-bordered table-condensed). |exclude_script_versions|array of strings|Git commit branches, tags, or hashes to exclude when deciding whether to re-use a past job.|query|@["8f03c71","8f03c71"]@| |find_or_create |boolean |Before creating, look for an existing job that has identical script, script_version, and script_parameters to those in the present job, has nondeterministic=false, and did not fail (it could be queued, running, or completed). If such a job exists, respond with the existing job instead of submitting a new one.|query|@false@| -When a job is executed, the 'script_version' field is resolved to an exact Git revision and the Git hash for that revision is recorded in 'script_version'. If 'script_version' can't be resolved, the job submission will be rejected. +When a job is submitted to the queue using the **create** method, the 'script_version' field is updated to a full 40-character Git commit hash based on the current content of the specified repository. If 'script_version' cannot be resolved, the job submission is rejected. h3. Reusing jobs -- 2.30.2