@argos-ci/core
Preparing search index...
upload
Function upload
upload
(
params
:
UploadParameters
,
)
:
Promise
<
{
build
:
{
id
:
string
;
notification
:
|
null
|
{
context
:
string
;
description
:
string
;
github
:
{
state
:
"pending"
|
"error"
|
"success"
|
"failure"
}
;
gitlab
:
{
state
:
"pending"
|
"success"
|
"running"
|
"failed"
|
"canceled"
;
}
;
}
;
number
:
number
;
status
:
|
"accepted"
|
"rejected"
|
"no-changes"
|
"changes-detected"
|
"expired"
|
"pending"
|
"progress"
|
"error"
|
"aborted"
;
url
:
string
;
}
;
screenshots
:
{
baseName
:
null
|
string
;
hash
:
string
;
metadata
:
null
|
ScreenshotMetadata
;
name
:
string
;
optimizedPath
:
string
;
path
:
string
;
pwTrace
:
null
|
{
hash
:
string
;
path
:
string
}
;
threshold
:
null
|
number
;
}
[]
;
}
,
>
Upload screenshots to Argos.
Parameters
params
:
UploadParameters
Returns
Promise
<
{
build
:
{
id
:
string
;
notification
:
|
null
|
{
context
:
string
;
description
:
string
;
github
:
{
state
:
"pending"
|
"error"
|
"success"
|
"failure"
}
;
gitlab
:
{
state
:
"pending"
|
"success"
|
"running"
|
"failed"
|
"canceled"
;
}
;
}
;
number
:
number
;
status
:
|
"accepted"
|
"rejected"
|
"no-changes"
|
"changes-detected"
|
"expired"
|
"pending"
|
"progress"
|
"error"
|
"aborted"
;
url
:
string
;
}
;
screenshots
:
{
baseName
:
null
|
string
;
hash
:
string
;
metadata
:
null
|
ScreenshotMetadata
;
name
:
string
;
optimizedPath
:
string
;
path
:
string
;
pwTrace
:
null
|
{
hash
:
string
;
path
:
string
}
;
threshold
:
null
|
number
;
}
[]
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@argos-ci/core
Loading...
Upload screenshots to Argos.