InTouch Hub · Blue Isle Software

LGTM Code Analysis

LGTM code analysis — read a project's analyses and detailed alerts, analysis for a specific commit, code-review results and individual issues.

Provided free and as is, without warranty of any kind — including merchantability, fitness for a particular purpose, and the accuracy or completeness of any result. See the licence. You are responsible for checking what this produces before relying on it.

alertdeveloper-devopsreviewsummary

Lgtm

Tool for the lgtm API.

Operations

Inputs

Example

operation: getversion
apiKey: <your key>

Publishes

The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.

Input Properties

Every property this tool accepts, from its own tool.iml.

Property Type Required Default Description
apiKey string yes — DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change.
operation string yes — One of: getversion, getanalysis, getalerts, getanalysisforcommit, getcodereview, getissue
alert-key string no — Path parameter alert-key (required by some operations).
analysis-id string no — Path parameter analysis-id (required by some operations).
commit-id string no — Path parameter commit-id (required by some operations).
project-id string no — Path parameter project-id (required by some operations).
review-id string no — Path parameter review-id (required by some operations).
query string no — Optional query params as a JSON object string, e.g. {"limit": 10}.