I’m trying to setup Gitlab-CI so that it first builds a project and then tests/deploys it.
But I can’t figure out how to tell it to keep the build output, at the deploy step it always removes the build output first:
Fetching changes... Removing .gradle/ Removing build/ Checking out 3b557737 as master...
This is my
build_java: image: private/jbuild:latest type: build script: gradle all deploy_docker: image: private/ddist:latest type: deploy script: ls -l
How can I tell it to keep
build so I can use it for deployment?