Started by GitLab push by Elian Kraja
Obtained Jenkinsfile.mec from git git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on build3.forge.etsi.org in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-010-2-pipeline
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git +refs/heads/*:refs/remotes/origin/*
skipping resolution of commit remotes/origin/stf606-draft, since it originates from another repository
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 1b7fd86ec22366ba540a1592a8fd8d054bae57ce (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1b7fd86ec22366ba540a1592a8fd8d054bae57ce
Commit message: "added openapi-cli image version"
> git rev-list --no-walk 1b7fd86ec22366ba540a1592a8fd8d054bae57ce # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] gitlabBuilds
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Resolve)
[Pipeline] sh
+ echo Resolve stage
Resolve stage
[Pipeline] updateGitlabCommitStatus
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-010-2-pipeline/apis
[Pipeline] {
[Pipeline] checkout
using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@forge.etsi.org:mec/gs010-2-app-pkg-lcm-api.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs010-2-app-pkg-lcm-api.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress git@forge.etsi.org:mec/gs010-2-app-pkg-lcm-api.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse remotes/origin/stf606-draft^{commit} # timeout=10
> git branch -a -v --no-abbrev --contains 89c688ec16c01d3cce7bd45252c165ce2820894d # timeout=10
Checking out Revision 89c688ec16c01d3cce7bd45252c165ce2820894d (origin/stf606-draft)
> git config core.sparsecheckout # timeout=10
> git checkout -f 89c688ec16c01d3cce7bd45252c165ce2820894d
Commit message: "Update MEC010-2_AppLcm.yaml"
> git rev-list --no-walk 06e24d44b7d8508ed27cad7687023b26e4aae54c # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-010-2-pipeline/scripts
[Pipeline] {
[Pipeline] checkout
using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git +refs/heads/*:refs/remotes/origin/*
skipping resolution of commit remotes/origin/stf606-draft, since it originates from another repository
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 1b7fd86ec22366ba540a1592a8fd8d054bae57ce (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1b7fd86ec22366ba540a1592a8fd8d054bae57ce
Commit message: "added openapi-cli image version"
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Validate)
[Pipeline] updateGitlabCommitStatus
[Pipeline] sh
+ echo Validate stage
Validate stage
[Pipeline] sh
+ bash ./scripts/cli-validate-openapis-mec.sh ./apis
------ Switching to ./apis folder --------
------ Checking for previous logs ------
Found previous log. Removing it
Using dockerized validator (etsiforge/swagger-cli:4.0.3)
4.0.3: Pulling from etsiforge/swagger-cli
Digest: sha256:c6987d82d33715ec65ac79532768eb98152d83ed969754aa7f4a9344aea32d9a
Status: Image is up to date for etsiforge/swagger-cli:4.0.3
docker.io/etsiforge/swagger-cli:4.0.3
------ Validating all YAML files (may takes several minutes) ------
-- Final validator returns 1.
Some errors found, see below the details.
---- Errors detected ----
---- Validating ./MEC010-2_AppPkgMgmt.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppPkgMgmt.yaml... [1] ../specs/MEC010-2_AppPkgMgmt.yaml:2052:17 at #/components/schemas/CreateAppPkg/properties/appPkgPath/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2050 | description: Name of the application package to be onboarded. 2051 | appPkgPath: 2052 | type: uri | ^^^ 2053 | appPkgVersion: 2054 | type: string Error was generated by the spec rule. [2] ../specs/MEC010-2_AppPkgMgmt.yaml:858:15 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1subscription.href}/post/responses Operation must have at least one `4xx` response. 856 | schema: 857 | $ref: '#/components/schemas/AppPkgNotification' 858 | responses: | ^^^^^^^^^ 859 | '204': 860 | description: "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppPkgMgmt.yaml: validated in 244ms ❌ Validation failed with 1 error and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010p2_v221_definitions.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010p2_v221_definitions.yaml... Something went wrong when processing /specs/MEC010p2_v221_definitions.yaml: - This doesn’t look like an OpenAPI document. . /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20 throw new Error('This doesn’t look like an OpenAPI document.
'); ^ Error: This doesn’t look like an OpenAPI document. at Object.detectOpenAPI (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20:15) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:47:40 at Generator.next (<anonymous>) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:4:12) at lintDocument (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:44:12) at Object.<anonymous> (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:31:16) at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:5:58) Node.js v17.8.0
---- Validating ./MEC010-2_AppGrant.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppGrant.json... [1] ../specs/MEC010-2_AppGrant.json:896:28 at #/components/schemas/ZoneInfo/properties/vimConnectionId/description Expected type `string` but got `null`. 894 | "vimConnectionId": { 895 | "type": "string", 896 | "description": null | ^^^^ 897 | }, 898 | "zoneId": { Error was generated by the spec rule. s/MEC010-2_AppGrant.json: validated in 122ms ❌ Validation failed with 1 error. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppLcm.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppLcm.json... [1] ../specs/MEC010-2_AppLcm.json:2198:21 at #/components/schemas/AppInstanceSubscriptionLinkList._links.subscriptions/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2196 | "properties": { 2197 | "href": { 2198 | "type": "uri" | ^^^^^ 2199 | }, 2200 | "subscriptionType": { Error was generated by the spec rule. [2] ../specs/MEC010-2_AppLcm.json:2247:21 at #/components/schemas/AppInstIdCreationSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2245 | }, 2246 | "callbackUri": { 2247 | "type": "uri" | ^^^^^ 2248 | }, 2249 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [3] ../specs/MEC010-2_AppLcm.json:2266:21 at #/components/schemas/AppInstIdDeletionSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2264 | }, 2265 | "callbackUri": { 2266 | "type": "uri" | ^^^^^ 2267 | }, 2268 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [4] ../specs/MEC010-2_AppLcm.json:2289:21 at #/components/schemas/AppInstIdCreationSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2287 | }, 2288 | "callbackUri": { 2289 | "type": "uri" | ^^^^^ 2290 | }, 2291 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [5] ../specs/MEC010-2_AppLcm.json:2324:21 at #/components/schemas/AppInstIdDeletionSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2322 | }, 2323 | "callbackUri": { 2324 | "type": "uri" | ^^^^^ 2325 | }, 2326 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [6] ../specs/MEC010-2_AppLcm.json:646:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackUri}/post/responses Operation must have at least one `4xx` response. 644 | } 645 | }, 646 | "responses": { | ^^^^^^^^^^^ 647 | "204": { 648 | "description": "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppLcm.json: validated in 233ms ❌ Validation failed with 5 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppPkgMgmt.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppPkgMgmt.json... [1] ../specs/MEC010-2_AppPkgMgmt.json:3008:21 at #/components/schemas/CreateAppPkg/properties/appPkgPath/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 3006 | }, 3007 | "appPkgPath": { 3008 | "type": "uri" | ^^^^^ 3009 | }, 3010 | "appPkgVersion": { Error was generated by the spec rule. [2] ../specs/MEC010-2_AppPkgMgmt.json:1294:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1subscription.href}/post/responses Operation must have at least one `4xx` response. 1292 | } 1293 | }, 1294 | "responses": { | ^^^^^^^^^^^ 1295 | "204": { 1296 | "description": "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppPkgMgmt.json: validated in 220ms ❌ Validation failed with 1 error and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010p2_v221_definitions.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010p2_v221_definitions.json... Something went wrong when processing /specs/MEC010p2_v221_definitions.json: - This doesn’t look like an OpenAPI document. . /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20 throw new Error('This doesn’t look like an OpenAPI document.
'); ^ Error: This doesn’t look like an OpenAPI document. at Object.detectOpenAPI (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20:15) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:47:40 at Generator.next (<anonymous>) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:4:12) at lintDocument (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:44:12) at Object.<anonymous> (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:31:16) at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:5:58) Node.js v17.8.0
---- Complete log of validation ----
---- Validating ./MEC010-2_AppGrant.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppGrant.yaml... s/MEC010-2_AppGrant.yaml: validated in 91ms Woohoo! Your OpenAPI definition is valid. 🎉
---- Validating ./MEC010-2_AppLcm.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppLcm.yaml... s/MEC010-2_AppLcm.yaml: validated in 180ms Woohoo! Your OpenAPI definition is valid. 🎉
---- Validating ./MEC010-2_AppPkgMgmt.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppPkgMgmt.yaml... [1] ../specs/MEC010-2_AppPkgMgmt.yaml:2052:17 at #/components/schemas/CreateAppPkg/properties/appPkgPath/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2050 | description: Name of the application package to be onboarded. 2051 | appPkgPath: 2052 | type: uri | ^^^ 2053 | appPkgVersion: 2054 | type: string Error was generated by the spec rule. [2] ../specs/MEC010-2_AppPkgMgmt.yaml:858:15 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1subscription.href}/post/responses Operation must have at least one `4xx` response. 856 | schema: 857 | $ref: '#/components/schemas/AppPkgNotification' 858 | responses: | ^^^^^^^^^ 859 | '204': 860 | description: "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppPkgMgmt.yaml: validated in 244ms ❌ Validation failed with 1 error and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010p2_v221_definitions.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010p2_v221_definitions.yaml... Something went wrong when processing /specs/MEC010p2_v221_definitions.yaml: - This doesn’t look like an OpenAPI document. . /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20 throw new Error('This doesn’t look like an OpenAPI document.
'); ^ Error: This doesn’t look like an OpenAPI document. at Object.detectOpenAPI (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20:15) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:47:40 at Generator.next (<anonymous>) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:4:12) at lintDocument (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:44:12) at Object.<anonymous> (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:31:16) at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:5:58) Node.js v17.8.0
---- Validating ./MEC010-2_AppGrant.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppGrant.json... [1] ../specs/MEC010-2_AppGrant.json:896:28 at #/components/schemas/ZoneInfo/properties/vimConnectionId/description Expected type `string` but got `null`. 894 | "vimConnectionId": { 895 | "type": "string", 896 | "description": null | ^^^^ 897 | }, 898 | "zoneId": { Error was generated by the spec rule. s/MEC010-2_AppGrant.json: validated in 122ms ❌ Validation failed with 1 error. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppLcm.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppLcm.json... [1] ../specs/MEC010-2_AppLcm.json:2198:21 at #/components/schemas/AppInstanceSubscriptionLinkList._links.subscriptions/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2196 | "properties": { 2197 | "href": { 2198 | "type": "uri" | ^^^^^ 2199 | }, 2200 | "subscriptionType": { Error was generated by the spec rule. [2] ../specs/MEC010-2_AppLcm.json:2247:21 at #/components/schemas/AppInstIdCreationSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2245 | }, 2246 | "callbackUri": { 2247 | "type": "uri" | ^^^^^ 2248 | }, 2249 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [3] ../specs/MEC010-2_AppLcm.json:2266:21 at #/components/schemas/AppInstIdDeletionSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2264 | }, 2265 | "callbackUri": { 2266 | "type": "uri" | ^^^^^ 2267 | }, 2268 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [4] ../specs/MEC010-2_AppLcm.json:2289:21 at #/components/schemas/AppInstIdCreationSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2287 | }, 2288 | "callbackUri": { 2289 | "type": "uri" | ^^^^^ 2290 | }, 2291 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [5] ../specs/MEC010-2_AppLcm.json:2324:21 at #/components/schemas/AppInstIdDeletionSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2322 | }, 2323 | "callbackUri": { 2324 | "type": "uri" | ^^^^^ 2325 | }, 2326 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [6] ../specs/MEC010-2_AppLcm.json:646:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackUri}/post/responses Operation must have at least one `4xx` response. 644 | } 645 | }, 646 | "responses": { | ^^^^^^^^^^^ 647 | "204": { 648 | "description": "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppLcm.json: validated in 233ms ❌ Validation failed with 5 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppPkgMgmt.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppPkgMgmt.json... [1] ../specs/MEC010-2_AppPkgMgmt.json:3008:21 at #/components/schemas/CreateAppPkg/properties/appPkgPath/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 3006 | }, 3007 | "appPkgPath": { 3008 | "type": "uri" | ^^^^^ 3009 | }, 3010 | "appPkgVersion": { Error was generated by the spec rule. [2] ../specs/MEC010-2_AppPkgMgmt.json:1294:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1subscription.href}/post/responses Operation must have at least one `4xx` response. 1292 | } 1293 | }, 1294 | "responses": { | ^^^^^^^^^^^ 1295 | "204": { 1296 | "description": "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppPkgMgmt.json: validated in 220ms ❌ Validation failed with 1 error and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010p2_v221_definitions.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010p2_v221_definitions.json... Something went wrong when processing /specs/MEC010p2_v221_definitions.json: - This doesn’t look like an OpenAPI document. . /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20 throw new Error('This doesn’t look like an OpenAPI document.
'); ^ Error: This doesn’t look like an OpenAPI document. at Object.detectOpenAPI (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20:15) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:47:40 at Generator.next (<anonymous>) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:4:12) at lintDocument (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:44:12) at Object.<anonymous> (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:31:16) at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:5:58) Node.js v17.8.0
------ Content of the folder ------
LICENSE
MEC010-2_AppGrant.json
MEC010-2_AppGrant.yaml
MEC010-2_AppLcm.json
MEC010-2_AppLcm.yaml
MEC010-2_AppPkgMgmt.json
MEC010-2_AppPkgMgmt.yaml
MEC010p2_v221_definitions.json
MEC010p2_v221_definitions.yaml
openapi-validation.log
README.md
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // gitlabBuilds
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE