I have added below script in pipeline, but it seems not working , every build take more than 30 min for mvn install , any problem recently for this cache function ?
image: maven:3.6.3
pipelines:
branches:
develop:
- step:
name: Build and Unit Test
artifacts:
- x_api/target/x_api.jar
- checkstyle-result.xml
image: maven:3.6.3
caches:
- maven
script:
#- mvn -B verify --file pom.xml
- cd x_api
- mvn install
- mvn package --batch-mode
- cd ../x_service
- mvn install
- mvn package --batch-mode
thank you,
Jonas