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
0685e62c
Commit
0685e62c
authored
Apr 22, 2017
by
Matija Obreza
Browse files
Publish artifacts only for master branch
parent
81174ecf
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0685e62c
...
...
@@ -14,10 +14,8 @@ publish artifacts:
stage
:
compile
image
:
maven:3-jdk-8
script
:
# will need to handle GPG at some point
# - echo "${GPG_XXX}" > XXX
-
echo "${GPG_KEY_SECRET}" | base64 --decode | gpg --allow-secret-key-import --import
-
gpg --list-keys
-
MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn"
mvn clean deploy --settings .ci-maven-settings.xml -B -U
#
only:
#
- master
-
mvn clean deploy --settings .ci-maven-settings.xml -B -U
only
:
-
master
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