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
App Blocks
Commits
23a5da6a
Commit
23a5da6a
authored
Jun 26, 2017
by
Matija Obreza
Browse files
Only tags "application-blocks-*" published on central maven repository, master is snapshot
parent
cb9f7112
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
23a5da6a
...
@@ -9,9 +9,9 @@ run tests in branches:
...
@@ -9,9 +9,9 @@ run tests in branches:
-
MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
-
MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
except
:
except
:
-
master
-
master
-
tags
-
/^application\-blocks\-/
publish artifacts
:
publish
snapshot
artifacts
:
stage
:
deploy
stage
:
deploy
image
:
maven:3-jdk-8
image
:
maven:3-jdk-8
script
:
script
:
...
@@ -20,4 +20,14 @@ publish artifacts:
...
@@ -20,4 +20,14 @@ publish artifacts:
-
mvn clean deploy --settings .ci-maven-settings.xml -B -U
-
mvn clean deploy --settings .ci-maven-settings.xml -B -U
only
:
only
:
-
master
-
master
-
tags
publish artifacts on central
:
stage
:
deploy
image
:
maven:3-jdk-8
script
:
-
echo "Using username ${GLIS_USERNAME} for authentication against https://glistest.planttreaty.org"
-
echo "${GPG_KEY_SECRET}" | gpg --allow-secret-key-import --import
-
gpg --list-keys
-
MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn -P release clean deploy --settings .ci-maven-settings.xml -B -U
only
:
-
/^application\-blocks\-/
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