Skip to content

Commit

Permalink
fix: pipeline schema for executor start (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkyi authored Oct 26, 2023
1 parent b55a016 commit db106e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const SCHEMA_PIPELINE = Joi.object()
id: pipelineId.required(),
name: models.pipeline.base.extract('name').optional(),
scmContext: models.pipeline.base.extract('scmContext').required(),
configPipelineId: models.pipeline.base.extract('configPipelineId').required()
configPipelineId: models.pipeline.base.extract('configPipelineId').optional().allow(null)
})
.unknown();
const SCHEMA_TEMPLATE = Joi.object()
Expand Down

0 comments on commit db106e4

Please sign in to comment.