diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1f6f05221bd247f7351968697481979153db34c5..75e0d2c8fa33a849db5151d9086e1fa80f7bbc62 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,8 @@ test-branch: only: [ branches ] stage: test script: - - echo $(CI_COMMIT_REF_NAME) + - echo $CI_JOB_STAGE + - echo $CI_COMMIT_REF_NAME - scripts/setBasePath.sh https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/$CI_COMMIT_BRANCH - docker run -i -v ${PWD}/:/data wistefan/redocly-openapi-cli bundle /data/spec/updated/ngsi-ld-spec-open-api.json -o /data/spec/updated/full_api.json - docker run --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/full_api.json