Console Output
Started by GitLab push by Miguel Angel Reina Ortega
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-015-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-015-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 fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8, 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 1264ced549a3f531bb0260b4e924be0e773f4d91 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1264ced549a3f531bb0260b4e924be0e773f4d91
Commit message: "Custom jenkins file for MEC projects"
First time build. Skipping changelog.
[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-015-pipeline/apis
[Pipeline] {
[Pipeline] checkout
using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
Cloning the remote Git repository
Cloning repository git@forge.etsi.org:mec/gs015-bandwith-mgmt-api.git
> git init /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-015-pipeline/apis # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs015-bandwith-mgmt-api.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress git@forge.etsi.org:mec/gs015-bandwith-mgmt-api.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url git@forge.etsi.org:mec/gs015-bandwith-mgmt-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/gs015-bandwith-mgmt-api.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs015-bandwith-mgmt-api.git
using GIT_SSH to set credentials
> git fetch --tags --progress git@forge.etsi.org:mec/gs015-bandwith-mgmt-api.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8^{commit} # timeout=10
> git branch -a -v --no-abbrev --contains fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8 # timeout=10
Checking out Revision fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8
Commit message: "Merge branch 'stf606-final' into 'master'"
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-015-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-015-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 fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8, 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 1264ced549a3f531bb0260b4e924be0e773f4d91 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1264ced549a3f531bb0260b4e924be0e773f4d91
Commit message: "Custom jenkins file for MEC projects"
[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 1.
Some errors found, see below the details.
---- Errors detected ----
---- Validating ./BwManagementApi.yaml: docker: invalid reference format. See 'docker run --help'.
---- Validating ./TrafficSteeringApi.yaml: docker: invalid reference format. See 'docker run --help'.
---- Complete log of validation ----
---- Validating ./BwManagementApi.yaml: docker: invalid reference format. See 'docker run --help'.
---- Validating ./TrafficSteeringApi.yaml: docker: invalid reference format. See 'docker run --help'.
------ Content of the folder ------
BwManagementApi.json
BwManagementApi.yaml
LICENSE
openapi-validation.log
README.md
TrafficSteeringApi.json
TrafficSteeringApi.yaml
[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