PythonAttributes
data class PythonAttributes( @Json(name = "id") val id: String, @Json(name = "buildStartTime") val buildStartTime: Long, @Json(name = "buildDuration") val buildDuration: Long, @Json(name = "pythonVersion") val pythonVersion: String, @Json(name = "pythonAgentVersion") val pythonAgentVersion: String, @Json(name = "command") val command: List<String>, @Json(name = "links") val links: List<BuildAttributesLink>, @Json(name = "tags") val tags: List<String>, @Json(name = "values") val propertyValues: List<BuildAttributesValue>, @Json(name = "exitCode") val exitCode: Int? = null, @Json(name = "exception") val exception: String? = null, @Json(name = "user") val user: String? = null, @Json(name = "host") val host: String? = null)
The attributes of a python build.
Parameters
id
The Build Scan ID.
buildStartTime
The time when the build starts, as milliseconds since Epoch.
buildDuration
The duration of the build, as milliseconds.
pythonVersion
The python version used in the build.
pythonAgentVersion
The version of the Develocity python agent.
command
The command and arguments requested in the build.
links
The list of Build Scan links.
tags
The list of Build Scan tags.
propertyValues
The list of Build Scan values.
exitCode
The exit code of the python process.
exception
The exception message thrown by the python process, if any.
user
The username of the user that ran the build.
host
The hostname of the user that ran the build, if set.
Constructors
Link copied to clipboard
constructor( @Json(name = "id") id: String, @Json(name = "buildStartTime") buildStartTime: Long, @Json(name = "buildDuration") buildDuration: Long, @Json(name = "pythonVersion") pythonVersion: String, @Json(name = "pythonAgentVersion") pythonAgentVersion: String, @Json(name = "command") command: List<String>, @Json(name = "links") links: List<BuildAttributesLink>, @Json(name = "tags") tags: List<String>, @Json(name = "values") propertyValues: List<BuildAttributesValue>, @Json(name = "exitCode") exitCode: Int? = null, @Json(name = "exception") exception: String? = null, @Json(name = "user") user: String? = null, @Json(name = "host") host: String? = null)