Console Output
Started by GitLab push by Laurent Velez
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 build.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
Cloning the remote Git repository
Cloning repository git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
> git init /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-010-2-pipeline # 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/*
> git config remote.origin.url git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> 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
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/master, 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 fe946f61cf4bd9fe98fecb3b354ab5a44592df04 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f fe946f61cf4bd9fe98fecb3b354ab5a44592df04
Commit message: "Update cli-validate-openapis-mec.sh"
> git rev-list --no-walk fe946f61cf4bd9fe98fecb3b354ab5a44592df04 # 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
Cloning the remote Git repository
Cloning repository git@forge.etsi.org:mec/gs010-2-app-pkg-lcm-api.git
> git init /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-010-2-pipeline/apis # 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 config remote.origin.url git@forge.etsi.org:mec/gs010-2-app-pkg-lcm-api.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> 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
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/master^{commit} # timeout=10
> git branch -a -v --no-abbrev --contains 07015c2e8376ac6796a7f168ff721c1b0b579932 # timeout=10
Checking out Revision 07015c2e8376ac6796a7f168ff721c1b0b579932 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 07015c2e8376ac6796a7f168ff721c1b0b579932
Commit message: "Update README.md"
> git rev-list --no-walk bdf325dd33681359777ff2f311fe852069cebdd7 # 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
Cloning the remote Git repository
Cloning repository git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
> git init /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-010-2-pipeline/scripts # 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/*
> git config remote.origin.url git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> 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
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/master, 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 fe946f61cf4bd9fe98fecb3b354ab5a44592df04 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f fe946f61cf4bd9fe98fecb3b354ab5a44592df04
Commit message: "Update cli-validate-openapis-mec.sh"
[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 ------
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 0.
No errors found, all files validate the OpenAPI definition. Below the complete log.
---- Complete log of validation ----
---- Validating ./MEC010-2_AppGrant.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppGrant.json... s/MEC010-2_AppGrant.json: validated in 115ms Woohoo! Your OpenAPI definition is valid. 🎉
---- Validating ./MEC010-2_AppLcm.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppLcm.json... s/MEC010-2_AppLcm.json: validated in 237ms Woohoo! Your OpenAPI definition is valid. 🎉
---- Validating ./MEC010-2_AppPkgMgmt.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppPkgMgmt.json... s/MEC010-2_AppPkgMgmt.json: validated in 208ms Woohoo! Your OpenAPI definition is valid. 🎉
---- 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 113ms 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 211ms 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... s/MEC010-2_AppPkgMgmt.yaml: validated in 232ms Woohoo! Your OpenAPI definition is valid. 🎉
------ Content of the folder ------
definitions
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
openapi-validation.log
README.md
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // gitlabBuilds
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS