File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1010 resource_class : xlarge
1111 environment :
1212 GRADLE_OPTS : -Dorg.gradle.console=plain -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false
13+ CIRCLE_TEST_REPORTS : /home/circleci/junit
14+ CIRCLE_ARTIFACTS : /home/circleci/artifacts
1315
1416 steps :
1517 - checkout
1820 - restore_cache :
1921 key : gradle-cache-{{ checksum "versions.props" }}-{{ checksum "build.gradle" }}
2022
21- - run : ./gradlew --parallel resolveConfigurations
23+ - run : ./gradlew --profile -- parallel resolveConfigurations
2224
2325 - save_cache :
2426 key : gradle-wrapper-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
@@ -29,29 +31,27 @@ jobs:
2931 paths :
3032 - ~/.gradle/caches
3133
32- - run : ./gradlew --parallel --continue build
34+ - run : ./gradlew --profile -- parallel --continue build
3335
3436 - run :
3537 command : |
3638 mkdir -p ~/junit
3739 find . -type f -regex ".*/build/.*TEST.*xml" -exec cp --parents {} ~/junit/ \;
3840 when : always
39- - store_test_results :
40- path : ~/junit
4141
4242 - deploy :
4343 command : |
4444 # publishing snapshots to bintray does not work, so we only publish from tag builds (not develop)
4545 if [[ "${CIRCLE_TAG}" =~ [0-9]+(\.[0-9]+)+(-[a-zA-Z]+[0-9]*)* ]]; then
46- ./gradlew --stacktrace --continue publish
46+ ./gradlew --profile -- stacktrace --continue publish
4747 else
48- ./gradlew --parallel --continue publishToMavenLocal
49- mkdir -p ~ /poms
50- find . -name 'pom-default.xml' -exec cp --parents {} ~ /poms \;
48+ ./gradlew --profile -- parallel --continue publishToMavenLocal
49+ mkdir -p $CIRCLE_ARTIFACTS /poms
50+ find . -name 'pom-default.xml' -exec cp --parents {} $CIRCLE_ARTIFACTS /poms \;
5151 fi
5252
53- - store_artifacts :
54- path : ~/poms
53+ - store_test_results : { path: ~/junit }
54+ - store_artifacts : { path: ~/artifacts }
5555
5656workflows :
5757 version : 2
You can’t perform that action at this time.
0 commit comments