File tree Expand file tree Collapse file tree 2 files changed +14
-26
lines changed
Expand file tree Collapse file tree 2 files changed +14
-26
lines changed Original file line number Diff line number Diff line change 11version : 2
22jobs :
3- test :
3+ build :
44 docker :
55 - image : circleci/openjdk:8u141
66 steps :
7- - checkout
8- - run : ./mvnw -Pdistribute,snapshot,docs clean test
9- test_next :
10- docker :
11- - image : circleci/openjdk:8u141
12- steps :
13- - checkout
14- - run : ./mvnw -Pspringnext clean test
15- deploy :
16- docker :
17- - image : circleci/openjdk:8u141
18- steps :
19- - checkout
20- - run : ./deploy.bash
21-
22- workflows :
23- version : 2
24- test_and_deploy :
25- - test
26- - test_next
27- - deploy :
28- requires :
29- - test
30- - test_next
31-
7+ - checkout
8+ - run :
9+ name : Test current version
10+ command : ./mvnw -Pdistribute,snapshot,docs clean test
11+ - run :
12+ name : Test Spring.NEXT
13+ command : ./mvnw -Pspringnext clean test
14+ - run :
15+ name : Deploy to Artifactory
16+ command : ./deploy.bash
17+
3218general :
3319 branches :
3420 ignore :
Original file line number Diff line number Diff line change 22
33if [ " ${CIRCLE_BRANCH} " == " master" ] || [ " ${CIRCLE_BRANCH} " == " 2.x" ]; then
44 ./mvnw -Pdistribute,snapshot,docs clean deploy
5+ else
6+ echo " We only deploy 'master' and '2.x' branches"
57fi
You can’t perform that action at this time.
0 commit comments