Commit 028a1861 authored by Dmitriy Rudko's avatar Dmitriy Rudko 💬
Browse files

Transfered stdout into a file for GCP integration tests

parent 691a3ef8
Pipeline #26666 canceled with stages
in 39 minutes and 50 seconds
...@@ -34,6 +34,7 @@ variables: ...@@ -34,6 +34,7 @@ variables:
OSDU_GCP_SERVICE: schema OSDU_GCP_SERVICE: schema
OSDU_GCP_VENDOR: gcp OSDU_GCP_VENDOR: gcp
OSDU_GCP_APPLICATION_NAME: os-schema OSDU_GCP_APPLICATION_NAME: os-schema
OSDU_GCP_TESTS_SUBDIR: testing/schema-test-core
OSDU_GCP_ENV_VARS: AUTHORIZE_API=$OSDU_GCP_ENTITLEMENTS_URL,AUTHORIZE_API_KEY=$OSDU_GCP_AUTHORIZE_API_KEY,LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_WEB=DEBUG,SHARED_TENANT_NAME=$TENANT --vpc-connector=$OSDU_GCP_VPC_CONNECTOR OSDU_GCP_ENV_VARS: AUTHORIZE_API=$OSDU_GCP_ENTITLEMENTS_URL,AUTHORIZE_API_KEY=$OSDU_GCP_AUTHORIZE_API_KEY,LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_WEB=DEBUG,SHARED_TENANT_NAME=$TENANT --vpc-connector=$OSDU_GCP_VPC_CONNECTOR
include: include:
...@@ -71,10 +72,18 @@ include: ...@@ -71,10 +72,18 @@ include:
osdu-gcp-test: osdu-gcp-test:
image: maven:3.6.3-jdk-8 image: maven:3.6.3-jdk-8
script: script:
- export GCP_DEPLOY_FILE=$(echo $OSDU_GCP_DEPLOY_FILE)
- > - >
mvn verify mvn verify
--batch-mode --batch-mode
--quiet --quiet
-s $CI_PROJECT_DIR/.mvn/community-maven.settings.xml -s $CI_PROJECT_DIR/.mvn/community-maven.settings.xml
-f $OSDU_GCP_TESTING_DIR/schema-test-core/pom.xml -f $OSDU_GCP_TESTS_SUBDIR/pom.xml
\ No newline at end of file > test-results.log
artifacts:
when: always
paths:
- test-results.log
- $OSDU_GCP_TESTS_SUBDIR/target/*/TEST-*.xml
reports:
junit:
- $OSDU_GCP_TESTS_SUBDIR/target/*/TEST-*.xml
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment