diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2cd3a3f96d8f83a7a972ede5f1ef42aa37b00552..96de8ef7f9b4f0307502e46813375a4fa41af1c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ test-branch: only: [ branches ] stage: test script: - - echo $CI_COMMIT_BRANCH + - 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