Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Watzko
ShowCaseStandalone
Commits
ab9c8fab
Commit
ab9c8fab
authored
Sep 07, 2019
by
kellerkindt
Browse files
Only mirror with .gitlab-ci.yml script
parent
f092dcd5
Pipeline
#123
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ab9c8fab
...
...
@@ -7,13 +7,13 @@ mirror:
-
git pull origin ${CI_COMMIT_REF_NAME}
-
git push -q https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git --all
cache
:
paths
:
-
.m2/repository
-
target/
build
:
stage
:
build
image
:
maven
script
:
mvn compile dependency:resolve dependency:sources -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
\ No newline at end of file
#cache:
# paths:
# - .m2/repository
# - target/
#
#build:
# stage: build
# image: maven
# script:
# mvn compile dependency:resolve dependency:sources -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment