diff --git a/plugins/executor.js b/plugins/executor.js index 5e7d6466..bf84a26c 100644 --- a/plugins/executor.js +++ b/plugins/executor.js @@ -14,6 +14,7 @@ const SCHEMA_START = Joi.object().keys({ .label('Build JWT') }).required(); const SCHEMA_STOP = Joi.object().keys({ + annotations: Annotations.annotations, buildId }).required(); const SCHEMA_STATUS = Joi.object().keys({ diff --git a/test/data/executor.stop.yaml b/test/data/executor.stop.yaml index 65562922..0bf08edc 100644 --- a/test/data/executor.stop.yaml +++ b/test/data/executor.stop.yaml @@ -1 +1,3 @@ +annotations: + beta.screwdriver.cd/executor: k8s buildId: 453264