Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Jessica Hawkwell
/
candle-pos
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cf5d28ff
authored
May 30, 2017
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a couple items
1 parent
430e688e
Pipeline
#100
failed in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
19 deletions
.gitlab-ci.yml
pom.xml
src/site/site.xml
.gitlab-ci.yml
View file @
cf5d28f
...
...
@@ -22,7 +22,7 @@ variables:
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
# when running from the command line.
# `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins.
MAVEN_CLI_OPTS
:
"
--batch-mode
--errors
--fail-at-end
--show-version
-DinstallAtEnd=true
-DdeployAtEnd=true"
MAVEN_CLI_OPTS
:
"
--batch-mode
--errors
--fail-at-end
--show-version
-DinstallAtEnd=true
-DdeployAtEnd=true
-Dproject.rev=`git
describe`
"
# Cache downloaded dependencies and plugins between builds.
# To keep cache across branches add 'key: "$CI_JOB_REF_NAME"'
...
...
@@ -33,18 +33,18 @@ variables:
.validate
:
&validate
stage
:
build
script
:
-
env
-
'
mvn
$MAVEN_CLI_OPTS
test-compile'
-
env
- 'mvn $MAVEN_CLI_OPTS test-compile'
# For merge requests do not `deploy` but only run `verify`.
# See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
.verify
:
&verify
stage
:
test
script
:
-
env
-
'
mvn
$MAVEN_CLI_OPTS
verify
site
site:stage'
-
env
- 'mvn $MAVEN_CLI_OPTS verify site site:stage'
except
:
-
master
-
master
# Validate merge requests using JDK8
validate:jdk8
:
...
...
@@ -66,14 +66,14 @@ deploy:jdk8:
# Use stage test here, so the pages job may later pickup the created site.
stage
:
test
script
:
-
env
-
'
mvn
$MAVEN_CLI_OPTS
deploy
site
site:stage'
-
env
- 'mvn $MAVEN_CLI_OPTS deploy site site:stage'
only
:
-
master
-
master
# Archive up the built documentation site.
artifacts
:
paths
:
-
target/staging
paths
:
-
target/staging
image
:
maven:3.3.9-jdk-8
...
...
@@ -81,14 +81,14 @@ pages:
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
# 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
dependencies
:
-
deploy:jdk8
-
deploy:jdk8
artifacts
:
paths
:
-
public
paths
:
-
public
only
:
-
master
-
master
pom.xml
View file @
cf5d28f
...
...
@@ -20,6 +20,7 @@
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.source>
1.8
</maven.compiler.source>
<maven.compiler.target>
1.8
</maven.compiler.target>
<rev>
${project.version}
</rev>
</properties>
<distributionManagement>
...
...
src/site/site.xml
View file @
cf5d28f
...
...
@@ -30,7 +30,7 @@
<body>
<breadcrumbs>
<item
name=
"${project.name} (
r
${project.rev})"
href=
"${project.url}"
/>
<item
name=
"${project.name} (${project.rev})"
href=
"${project.url}"
/>
</breadcrumbs>
<menu
name=
"Project Information"
ref=
"reports"
inherit=
"bottom"
/>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment