I have created a simple bitbucket-pipeline.yaml
The caching maven does not work. Build time is almost 1 hour. What am i doing wrong here? Adter build is succesful i don't see any cache in pipeline created?
image: maven:3.6.3
pipelines:
branches:
CSO_pipelines:
- step:
name: Docker build and clean install
caches:
- maven
script:
- mkdir -p "$BITBUCKET_CLONE_DIR/.m2"
- mvn -B -s settings.xml compile
definitions:
caches:
maven: .m2