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
Genesys PGR
Geo Tools
Commits
82fb07b9
Commit
82fb07b9
authored
Sep 19, 2017
by
Matija Obreza
Browse files
CI updated
parent
299dbcda
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
82fb07b9
...
...
@@ -2,30 +2,32 @@ stages:
-
build
run tests in branches
:
stage
:
build
image
:
maven:3-jdk-8
stage
:
build
image
:
maven:3-jdk-8
script
:
-
MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
-
MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
-U
except
:
-
master
-
tags
publish maven snapshot artifacts
:
stage
:
build
image
:
maven:3-jdk-8
script
:
-
echo "${GPG_KEY_SECRET}" | gpg --
allow-secret-key-import
--import
stage
:
build
image
:
maven:3-jdk-8
before_
script
:
-
echo "${GPG_KEY_SECRET}" | gpg --
batch
--import
-
gpg --list-keys
script
:
-
mvn clean deploy --settings .ci-maven-settings.xml -B -U
only
:
-
master
publish maven artifacts
:
stage
:
build
image
:
maven:3-jdk-8
script
:
-
echo "${GPG_KEY_SECRET}" | gpg --
allow-secret-key-import
--import
stage
:
build
image
:
maven:3-jdk-8
before_
script
:
-
echo "${GPG_KEY_SECRET}" | gpg --
batch
--import
-
gpg --list-keys
script
:
-
mvn clean deploy --settings .ci-maven-settings.xml -B -U -Prelease
only
:
-
tags
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