Skip to content

Instantly share code, notes, and snippets.

@seogi1004
Last active January 8, 2019 14:53
Show Gist options
  • Save seogi1004/a0b3dc8c94bbc03d7cf82b4c9c5ac5c9 to your computer and use it in GitHub Desktop.
Save seogi1004/a0b3dc8c94bbc03d7cf82b4c9c5ac5c9 to your computer and use it in GitHub Desktop.
variables:
MAVEN_CLI_OPTS: "--batch-mode"
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
CI_REPOSITORY_URL: https://alvin.h:$ACCESS_TOKEN@gitlab.com/$CI_PROJECT_PATH.git
cache:
key: "$CI_COMMIT_REF_NAME"
paths:
- src/main/resources/static/
- dist/
- node_modules/
- .m2/repository/
stages:
- fetest
- febuild
- betest
- bebuild
- deploy
- patch
.Job_Only:
only:
changes:
- "src/**/*"
refs:
- merge_requests
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment