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 b1cc8d9f
authored
May 30, 2017
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
1 parent
fb94786e
Pipeline
#105
passed
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
.gitlab-ci.yml
.gitlab-ci.yml
View file @
b1cc8d9
...
...
@@ -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 -Dgit-rev="$(git describe)
"
MAVEN_CLI_OPTS
:
"
--batch-mode
--errors
--fail-at-end
--show-version
-DinstallAtEnd=true
-DdeployAtEnd=true
"
# Cache downloaded dependencies and plugins between builds.
# To keep cache across branches add 'key: "$CI_JOB_REF_NAME"'
...
...
@@ -33,8 +33,7 @@ variables:
.validate
:
&validate
stage
:
build
script
:
-
env
-
'
mvn
$MAVEN_CLI_OPTS
test-compile'
-
'
mvn
-Dgit-rev="`git
describe`"
$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
...
...
@@ -42,7 +41,7 @@ variables:
stage
:
test
script
:
-
env
-
'
mvn
$MAVEN_CLI_OPTS
verify
site
site:stage'
-
'
mvn
-Dgit-rev="`git
describe`"
$MAVEN_CLI_OPTS
verify
site
site:stage'
except
:
-
master
...
...
@@ -66,8 +65,7 @@ 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'
-
'
mvn
-Dgit-rev="`git
describe`"
$MAVEN_CLI_OPTS
deploy
site
site:stage'
only
:
-
master
# Archive up the built documentation site.
...
...
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