GarouDan
02/12/2019, 6:43 PM.circleci/config.yml file to put it to work?
version: 2
jobs:
build:
docker:
- image: circleci/<language>:<version TAG>
steps:
- checkout
- run: ./gradlew clean build
Specially I don’t know what I could use in the place of:
docker:
- image: circleci/<language>:<version TAG>
Does anyone have a suggestion of a pre-build docker image or some other configuration?gildor
02/13/2019, 3:07 AMJoe
02/13/2019, 4:06 AMDavid Podhola
02/13/2019, 6:13 AMGarouDan
02/13/2019, 10:32 AMGarouDan
02/13/2019, 10:32 AMJoe
02/13/2019, 3:00 PM{{ .Branch }}-{{ .Revision }} with an additional fallback to {{ .Branch }}
- go-offline doesn't always download everything (eg, mvn plugins vs/ dependencies), so we skip that and save before/after the mvn build
- if you have integration tests or other static checks, they may be in the verify lifecycle, so would recommend at least doing mvn verify if not install (or deploy if you're pushing artifacts elsewhere)GarouDan
02/13/2019, 4:16 PMDavid Podhola
02/14/2019, 5:09 AMmvn install too.