This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 6db76a37 authored by Eduard Frankford's avatar Eduard Frankford
Browse files

check if publish image works

parent fa937a9c
Branches
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
...@@ -57,55 +57,55 @@ maven-compile: ...@@ -57,55 +57,55 @@ maven-compile:
expire_in: 10 days expire_in: 10 days
needs: [] needs: []
maven-test: # maven-test:
# DinD service is required for Testcontainers # # DinD service is required for Testcontainers
services: # services:
- docker:20-dind # - docker:20-dind
variables: # variables:
# Instruct Testcontainers to use the daemon of DinD. # # Instruct Testcontainers to use the daemon of DinD.
DOCKER_HOST: 'tcp://docker:2375' # DOCKER_HOST: 'tcp://docker:2375'
DOCKER_TLS_CERTDIR: '' # DOCKER_TLS_CERTDIR: ''
stage: test # stage: test
script: # script:
- ./mvnw -ntp verify -P-webapp -Dmaven.repo.local=$MAVEN_USER_HOME -Dspring.profiles.active=testcontainers # - ./mvnw -ntp verify -P-webapp -Dmaven.repo.local=$MAVEN_USER_HOME -Dspring.profiles.active=testcontainers
artifacts: # artifacts:
reports: # reports:
junit: # junit:
- target/surefire-reports/TEST-*.xml # - target/surefire-reports/TEST-*.xml
- target/failsafe-reports/TEST-*.xml # - target/failsafe-reports/TEST-*.xml
paths: # paths:
- target/surefire-reports # - target/surefire-reports
- target/failsafe-reports # - target/failsafe-reports
- target/site # - target/site
when: always # when: always
expire_in: 15 days # expire_in: 15 days
needs: [] # needs: []
frontend-test: # frontend-test:
stage: test # stage: test
cache: {} # cache: {}
script: # script:
- npm install # - npm install
- npm test # - npm test
artifacts: # artifacts:
reports: # reports:
junit: target/test-results/TESTS-results-jest.xml # junit: target/test-results/TESTS-results-jest.xml
paths: # paths:
- target/test-results # - target/test-results
- target/jacoco # - target/jacoco
when: always # when: always
expire_in: 15 days # expire_in: 15 days
needs: [] # needs: []
sonar-analyze: # sonar-analyze:
stage: analyze # stage: analyze
dependencies: # dependencies:
- maven-test # - maven-test
- frontend-test # - frontend-test
script: # script:
- ./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=codeAbility -Dsonar.host.url=https://qe-sonarqube.uibk.ac.at/ -Dsonar.login=${SONAR_TOKEN_QE} -Dmaven.repo.local=$MAVEN_USER_HOME # - ./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=codeAbility -Dsonar.host.url=https://qe-sonarqube.uibk.ac.at/ -Dsonar.login=${SONAR_TOKEN_QE} -Dmaven.repo.local=$MAVEN_USER_HOME
# - ./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=codeAbility -Dsonar.host.url=https://server.arctis.at/sonar/ -Dsonar.login=${SONAR_TOKEN} -Dmaven.repo.local=$MAVEN_USER_HOME # # - ./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=codeAbility -Dsonar.host.url=https://server.arctis.at/sonar/ -Dsonar.login=${SONAR_TOKEN} -Dmaven.repo.local=$MAVEN_USER_HOME
allow_failure: true # allow_failure: true
maven-package: maven-package:
stage: package stage: package
......
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