mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 05:09:46 +00:00
Let pipeline-compiler export step types (#1958)
This commit is contained in:
@@ -126,6 +126,7 @@ export type PipelineStep = {
|
||||
start_time?: number;
|
||||
end_time?: number;
|
||||
error?: string;
|
||||
type?: StepType;
|
||||
};
|
||||
|
||||
export type PipelineLog = {
|
||||
@@ -140,3 +141,11 @@ export type PipelineLog = {
|
||||
export type PipelineFeed = Pipeline & {
|
||||
repo_id: number;
|
||||
};
|
||||
|
||||
export enum StepType {
|
||||
Clone = 1,
|
||||
Service,
|
||||
Plugin,
|
||||
Commands,
|
||||
Cache,
|
||||
}
|
||||
|
Reference in New Issue
Block a user