Console Output
Started by GitLab push by Pietro Piscione
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-021-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-021-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/gs021-amsi-api.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs021-amsi-api.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress git@forge.etsi.org:mec/gs021-amsi-api.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse remotes/origin/stf606-draft^{commit} # timeout=10
> git branch -a -v --no-abbrev --contains af819da17cebdf5a2fc442a4612c3482bcb1cfe1 # timeout=10
Checking out Revision af819da17cebdf5a2fc442a4612c3482bcb1cfe1 (origin/stf606-draft)
> git config core.sparsecheckout # timeout=10
> git checkout -f af819da17cebdf5a2fc442a4612c3482bcb1cfe1
Commit message: "Made fixes based on linter errors."
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-021-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 0.
No errors found, all files validate the OpenAPI definition. Below the complete log.
---- Complete log of validation ----
---- Validating ./MEC021_AppMobilityService.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.yaml... [1] ../specs/MEC021_AppMobilityService.yaml:1245:5 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1243 | description: The boundary value setting in the subscription request. 1244 | $ref: '#/components/schemas/TimeStamp' 1245 | TestNotification: | ^^^^^^^^^^^^^^^^ 1246 | title: TestNotification 1247 | required: Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.yaml: validated in 198ms Woohoo! Your OpenAPI definition is valid. 🎉 You have 1 warning.
---- Validating ./MEC021_AppMobilityService.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.json... [1] ../specs/MEC021_AppMobilityService.json:1874:7 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1872 | } 1873 | }, 1874 | "TestNotification": { | ^^^^^^^^^^^^^^^^^^ 1875 | "title": "TestNotification", 1876 | "required": [ Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.json: validated in 223ms Woohoo! Your OpenAPI definition is valid. 🎉 You have 1 warning.
------ Content of the folder ------
LICENSE
MEC021_AppMobilityService.json
MEC021_AppMobilityService.yaml
openapi-validation.log
proto3
README.md
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // gitlabBuilds
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS