# This file is a template, and might need editing before it works on your project. # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options # you can delete this line if you're not using Docker # image: java:8 # before_script: # - echo "Before script section" # - echo "For example you might run an update here or install a build dependency" # - echo "Or perhaps you might print out some debugging details" # after_script: # - echo "After script section" # - echo "For example you might do some cleanup here" stages: - build - deploy build: stage: build tags: - dev script: - echo "Do your build here" - ./mvnw clean package -DskipTests artifacts: paths: - target/ # - sh build.sh dev 8585 # test1: # stage: test # script: # - echo "Do a test here" # - echo "For example run a test suite" # test2: # stage: test # script: # - echo "Do another parallel test here" # - echo "For example run a lint test" deploy: stage: deploy tags: - uat script: - echo "Do your deploy here" - sh build.sh dev 8585