Console Output
Started by user carignani
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 refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 8216c7c8802a727e0c375f6eb8181afab904e38a (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 8216c7c8802a727e0c375f6eb8181afab904e38a
Commit message: "removed python scripts"
First time build. Skipping changelog.
[gitlab-openapi-example] $ /bin/bash /tmp/jenkins5452862918374455278.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
---> 37eec16f1872
Step 2/24 : RUN env
---> Using cache
---> 118f86344fe4
Step 3/24 : RUN apk update
---> Using cache
---> e4bc3bfd196d
Step 4/24 : RUN apk add bash
---> Using cache
---> ddd536927392
Step 5/24 : RUN apk add nodejs
---> Using cache
---> 9644a010beb6
Step 6/24 : RUN apk add nodejs-npm
---> Using cache
---> 615f95d9bef2
Step 7/24 : RUN apk add asciidoctor
---> Using cache
---> 07b91e8b8e53
Step 8/24 : RUN apk add openjdk8
---> Using cache
---> d7e1e0714341
Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
---> Using cache
---> ca2ccaf56683
Step 10/24 : RUN apk add openssl
---> Using cache
---> 6b46498081cd
Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
---> Using cache
---> bff5534325c4
Step 12/24 : RUN gem install asciidoctor-pdf-cjk
---> Using cache
---> 8b9cff333db2
Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
---> Using cache
---> 81a898805c9f
Step 14/24 : RUN npm config set proxy $http_proxy
---> Using cache
---> de36501403e3
Step 15/24 : RUN npm install -g swagger-tools@0.10.3
---> Using cache
---> 84533e5860c9
Step 16/24 : RUN npm install -g json-refs@3.0.2
---> Using cache
---> dfcffa881097
Step 17/24 : RUN npm install -g yamljs@0.3.0
---> Using cache
---> 46618e25b412
Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
---> Using cache
---> 698533a52c4d
Step 19/24 : RUN chmod +x /validate-in-docker.sh
---> Using cache
---> e8705dbdcb3a
Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
---> Using cache
---> 4469ae439fb4
Step 21/24 : RUN chmod +x /bin/swg2mrkup
---> Using cache
---> 92a1fdd5a199
Step 22/24 : ADD oas2pdf /bin/oas2pdf
---> Using cache
---> 9a72dd804e49
Step 23/24 : RUN chmod +x /bin/oas2pdf
---> Using cache
---> 6c08dbf57209
Step 24/24 : ENTRYPOINT /validate-in-docker.sh
---> Using cache
---> 359dcc804220
Successfully built 359dcc804220
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/4'
Mounting dir /var/www/html/api/nfv/gitlab-openapi-example/4 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 Warnings:
#/definitions/Standard: Definition is defined but is not used: #/definitions/Standard
#/definitions/StandardRequest: Definition is defined but is not used: #/definitions/StandardRequest
Validation succeeded but with 2 warnings
--- Validation done (0).
'../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 0.
Archiving artifacts
Finished: SUCCESS