Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
Java Client API
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Genesys PGR
Java Client API
Commits
2c07f60e
Commit
2c07f60e
authored
Oct 05, 2017
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gitlab CI pipeline deploys tags to central, master to snapshots, runs tests on other branches
parent
91bd025e
Pipeline
#2722
passed with stage
in 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
.gitlab-ci.yml
.gitlab-ci.yml
+17
-7
No files found.
.gitlab-ci.yml
View file @
2c07f60e
...
...
@@ -3,17 +3,17 @@ stages:
-
deploy
run tests in branches
:
stage
:
compile
image
:
maven:3-jdk-8
stage
:
compile
image
:
maven:3-jdk-8
script
:
-
MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
except
:
-
master
-
tags
-
/^genesys\-client\-api\-/
publish artifacts
:
stage
:
deploy
image
:
maven:3-jdk-8
publish
snapshot
artifacts
:
stage
:
deploy
image
:
maven:3-jdk-8
before_script
:
-
echo "${GPG_KEY_SECRET}" | gpg --batch --import
-
gpg --list-keys
...
...
@@ -21,4 +21,14 @@ publish artifacts:
-
mvn clean deploy --settings .ci-maven-settings.xml -B -U
only
:
-
master
-
tags
publish artifacts on central
:
stage
:
deploy
image
:
maven:3-jdk-8
before_script
:
-
echo "${GPG_KEY_SECRET}" | gpg --batch --import
-
gpg --list-keys
script
:
-
mvn -P release clean deploy --settings .ci-maven-settings.xml -B -U
only
:
-
/^genesys\-client\-api\-/
Write
Preview
Markdown
is supported
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