Console Output
Started by GitLab push by etsi cti
Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/playground/gitlab-openapi-example
> 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:nfv/openapi-test-repo.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:nfv/openapi-test-repo.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress git@forge.etsi.org:nfv/openapi-test-repo.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse remotes/origin/master^{commit} # timeout=10
> git branch -a -v --no-abbrev --contains 8fb6a3e2d39cbd3d6f034f91946c159de5a7e4f6 # timeout=10
Checking out Revision 8fb6a3e2d39cbd3d6f034f91946c159de5a7e4f6 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 8fb6a3e2d39cbd3d6f034f91946c159de5a7e4f6
Commit message: "Merge branch 'my-new-feature' into 'master'"
> git rev-list c43b73bdd688f8f53031c6203371b17d6b837ac8 # timeout=10
[gitlab-openapi-example] $ /bin/bash /tmp/jenkins1554091720287471767.sh
./build-container.sh: line 7: proxy: command not found
http_proxy is not set
Proxy set to
Sending build context to Docker daemon 13.31kB
Step 1/24 : FROM alpine:3.6
---> 94627dfbdf19
Step 2/24 : RUN env
---> Using cache
---> 5aba9ace9175
Step 3/24 : RUN apk update
---> Using cache
---> c93a8f8fceea
Step 4/24 : RUN apk add bash
---> Using cache
---> 9984393d4ab7
Step 5/24 : RUN apk add nodejs
---> Using cache
---> 002ade640a14
Step 6/24 : RUN apk add nodejs-npm
---> Using cache
---> 95fda2dffd97
Step 7/24 : RUN apk add asciidoctor
---> Using cache
---> 99af8b969755
Step 8/24 : RUN apk add openjdk8
---> Using cache
---> a00125cd64f2
Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
---> Using cache
---> 82f7425307e6
Step 10/24 : RUN apk add openssl
---> Using cache
---> c2d720896593
Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
---> Using cache
---> 3dcde753af30
Step 12/24 : RUN gem install asciidoctor-pdf-cjk
---> Using cache
---> f790ef185743
Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
---> Using cache
---> 6edcfc270195
Step 14/24 : RUN npm config set proxy $http_proxy
---> Using cache
---> c9c3979202c1
Step 15/24 : RUN npm install -g swagger-tools@0.10.3
---> Using cache
---> 360ceb237df9
Step 16/24 : RUN npm install -g json-refs@3.0.2
---> Using cache
---> cbc3149e2130
Step 17/24 : RUN npm install -g yamljs@0.3.0
---> Using cache
---> 7871c2bfc3ea
Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
---> Using cache
---> 0748ba355ad1
Step 19/24 : RUN chmod +x /validate-in-docker.sh
---> Using cache
---> 3cf79c1aef61
Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
---> Using cache
---> ceeb680ed4fb
Step 21/24 : RUN chmod +x /bin/swg2mrkup
---> Using cache
---> 692d4dcb0c92
Step 22/24 : ADD oas2pdf /bin/oas2pdf
---> Using cache
---> 764bc5d4e7ff
Step 23/24 : RUN chmod +x /bin/oas2pdf
---> Using cache
---> 554fcdc46e06
Step 24/24 : ENTRYPOINT /validate-in-docker.sh
---> Using cache
---> c6b0d4b8a4b9
Successfully built c6b0d4b8a4b9
Successfully tagged openapivalidator:latest
Mounting dir /home/jenkins/workspace/playground/gitlab-openapi-example as /work
mkdir: created directory '/var/www/html/api/nfv/gitlab-openapi-example/14'
Mounting dir /var/www/html/api/nfv/gitlab-openapi-example/14 as /storage
Using filter ''
Entering dir /work/src
-- Will validate: ./spec1/api1/api1.yaml (api: api1) (deliverable:spec1)
--- Merging file.
--- Create PDF...
--- Validating ../build/spec1-api1-API.yaml
API Errors:
#/paths/~1standard: Additional properties not allowed: /author
1 error and 0 warnings
--- Validation done (1).
'../build/spec1-api1-API.yaml' -> '/storage/spec1-api1-API.yaml'
'../build/spec1-api1-API.json' -> '/storage/spec1-api1-API.json'
'../build/spec1-api1-API.pdf' -> '/storage/spec1-api1-API.pdf'
-- Final validator returns 1.
Archiving artifacts
Finished: SUCCESS