File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed
Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 22#
33# Check https://circleci.com/docs/2.0/language-java/ for more details
44#
5- version : 2.1
6- commands :
7- early_return_for_forked_pull_requests :
8- description : >-
9- If this build is from a fork, stop executing the current job and return success.
10- This is useful to avoid steps that will fail due to missing credentials.
11- steps :
12- - run :
13- name : Early return if this build is from a forked PR
14- command : |
15- if [ -n "$CIRCLE_PR_NUMBER" ]; then
16- echo "Nothing to do for forked PRs, so marking this step successful"
17- circleci step halt
18- fi
19-
5+ version : 2
206jobs :
217 build :
228 docker :
5238 # run tests!
5339 - run : mvn integration-test
5440 - run : mvn cobertura:cobertura
55-
56- - early_return_for_forked_pull_requests
57-
5841 - run : bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN}
42+
5943 - run : mvn -s .circleci.settings.xml -DskipTests deploy
6044
6145workflows :
You can’t perform that action at this time.
0 commit comments