Released: 2016-04-27
Breaking changes:
-
Property
result.shortMessage
has been removed, andresult.fullMessage
has been renamed to simplyresult.message
. There is no longer a distinction between "short" and "full" messages. -
The property
run.invocation
, which was previously a string containing the command line parameters with which the tool was invoked, is now an object of typeinvocation
. Theinvocation
object contains a propertyparameters
which contains the string previously stored inrun.invocation
. Several properties formerly stored in therun
object have been pushed down into theinvocation
object:architecture
correlationId
endTime
startTime
The
invocation
object also contains the following new properties:account
environmentVariables
fileName
machine
processId
workingDirectory
as well as
tags
andproperties
.Note that some of these properties can disclose sensitive information about the machine, so use caution when populating them, and consider redacting sensitive information from them.
-
The property
result.formattedMessage
has been renamed toresult.formattedRuleMessage
. -
The property
result.kind
has been renamed toresult.level
. -
The array of
result
objects in the propertyrun.results
no longer contains information intended for the developers who wrote the analysis tool or for the build engineers who configured the tool. Instead, messages intended for tool developers are stored in the new propertyrun.toolNotifications
, and messages intended for build engineers are stored in the new propertyrun.configurationNotifications
, both of which contain arrays of a newly introducednotification
object. -
As a result of the introduction of the
result.toolNotifications
andresult.configurationNotifications
properties, the strings"internalError"
and"configurationError"
are no longer valid values forresult.level
(the property formerly namedresult.kind
). Messages that would formerly have beenresult
objects withkind
="internalError"
are now represented asnotification
objects stored inrun.toolNotifications
, and messages that would formerly have beenresult
objects withkind
="configurationError"
are now represented asnotification
objects stored inrun.configurationNotifications
.