❓ Does GitLabCI skip shallow clones on merge requests?
variables:
DEPTH: 1
❗ Explain batch mode.
mvn -B deploy
variables:
DEPTH: 1
cache:
paths:
- .m2/
build:
stage: build
script: mvn -B install
integration test:
stage: test
script: mvn surefire:test
deploy:
stage: deploy
script: mvn jar:jar deploy:deploy