File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed
Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change 11version : 2
22
33jobs :
4- build :
4+ build-linux :
55 docker :
66 - image : cimg/openjdk:11.0
77 working_directory : ~/hoverfly-java
3131 paths :
3232 - hoverfly-java/
3333
34+ build-windows :
35+ machine :
36+ image : windows-server-2019-standard
37+ working_directory : C:/hoverfly-java
38+ steps :
39+ - checkout
40+ - run :
41+ name : Set up Gradle Wrapper & Java
42+ command : |
43+ choco install -y openjdk11
44+ choco install -y gradle
45+ gradlew --version
46+ - run :
47+ name : Run Tests
48+ command : |
49+ .\gradlew.bat clean test jacocoTestReport
50+ - persist_to_workspace :
51+ root : C:/hoverfly-java/
52+ paths :
53+ - ./
54+
3455 deploy :
3556 docker :
3657 - image : cimg/openjdk:11.0
@@ -58,10 +79,12 @@ workflows:
5879 version : 2
5980 build :
6081 jobs :
61- - build
82+ - build-linux
83+ - build-windows
6284 - deploy :
6385 requires :
64- - build
86+ - build-linux
87+ - build-windows
6588 filters :
6689 branches :
6790 only : master
You can’t perform that action at this time.
0 commit comments