Optimize CircleCI build (#756)
Optimize CircleCI build Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
This commit is contained in:
@@ -29,15 +29,13 @@ jobs:
|
||||
- restore_cache:
|
||||
key: circleci-hawkbit-{{ checksum "pom.xml" }}
|
||||
|
||||
# Install dependencies
|
||||
- run:
|
||||
name: Install without testing
|
||||
name: Install dependencies without testing
|
||||
command: mvn install --batch-mode -DskipTests
|
||||
|
||||
# Run tests
|
||||
- run:
|
||||
name: Test incl. license verification
|
||||
command: './.circleci/sonarCircleCi.sh'
|
||||
name: Run tests incl. license check
|
||||
command: './.circleci/run-qa.sh'
|
||||
|
||||
# Record test results
|
||||
- run: mkdir -p testresults/junit/
|
||||
@@ -45,9 +43,6 @@ jobs:
|
||||
|
||||
- store_test_results:
|
||||
path: testresults/junit/
|
||||
|
||||
- store_artifacts:
|
||||
path: testresults/junit/
|
||||
destination: test-reports
|
||||
|
||||
- store_artifacts:
|
||||
@@ -61,5 +56,5 @@ jobs:
|
||||
|
||||
notify:
|
||||
webhooks:
|
||||
# gitter hook
|
||||
# Gitter hook
|
||||
- url: https://webhooks.gitter.im/e/a20a6bc2bda5a8a77d39
|
||||
|
||||
Reference in New Issue
Block a user