Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
br-verification-tool
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fg-bks
br-verification-tool
Commits
cbb77940
Commit
cbb77940
authored
5 years ago
by
Jonas Blatt
Browse files
Options
Downloads
Patches
Plain Diff
gitlab ci
parent
0fa99368
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-25
2 additions, 25 deletions
.gitlab-ci.yml
with
2 additions
and
25 deletions
.gitlab-ci.yml
+
2
−
25
View file @
cbb77940
...
...
@@ -57,35 +57,12 @@ verify:jdk8:
<<
:
*verify
image
:
maven:3.3.9-jdk-8
# For `master` branch run `mvn deploy` automatically.
# Here you need to decide whether you want to use JDK7 or 8.
# To get this working you need to define a volume while configuring your gitlab-ci-multi-runner.
# Mount your `settings.xml` as `/root/.m2/settings.xml` which holds your secrets.
# See https://maven.apache.org/settings.html
deploy:jdk8
:
# Use stage test here, so the pages job may later pickup the created site.
stage
:
test
script
:
-
'
mvn
$MAVEN_CLI_OPTS
tomcat:redeploy'
only
:
-
master
# Archive up the built documentation site.
#artifacts:
# paths:
# - target/staging
image
:
maven:3.3.9-jdk-8
pages
:
deploy
:
image
:
busybox:latest
stage
:
deploy
script
:
# Because Maven appends the artifactId automatically to the staging path if you did define a parent pom,
# you might need to use `mv target/staging/YOUR_ARTIFACT_ID public` instead.
-
mv target/staging public
-
'
mvn
$MAVEN_CLI_OPTS
tomcat:redeploy'
dependencies
:
-
deploy:jdk8
artifacts
:
paths
:
-
public
only
:
-
master
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment