- upload(params): Promise<{
build: {
id: string;
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;
}[];
}> Returns Promise<{
build: {
id: string;
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-ci.com.