Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Analyst WebApp
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fidentis
Analyst WebApp
Commits
a401dc20
There was an error fetching the commit references. Please try again later.
Commit
a401dc20
authored
4 years ago
by
Radek Ošlejšek
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
96230fee
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-22
26 additions, 22 deletions
.gitlab-ci.yml
with
26 additions
and
22 deletions
.gitlab-ci.yml
+
26
−
22
View file @
a401dc20
...
...
@@ -13,6 +13,7 @@ stages:
-
document
-
publish
# Builds code and generates documentation
build
:
stage
:
build
script
:
...
...
@@ -26,6 +27,10 @@ build:
artifacts
:
paths
:
-
application/target/$PROJECT_ARTIFACT_ID-*.zip
-
MeshModel/target/site/apidocs/
-
GUI/target/site/apidocs/
-
Comparison/target/site/apidocs/
-
target/site/apidocs/
expire_in
:
1 hour
when
:
on_success
...
...
@@ -43,28 +48,27 @@ test:
-
if
:
'
$CI_COMMIT_BRANCH'
# generate documentation when commiting to master and the VERSION.txt file has changed
document
:
stage
:
document
script
:
-
mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:javadoc
-
mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:aggregate
tags
:
-
shared-fi
rules
:
-
if
:
'
$CI_COMMIT_BRANCH'
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
changes
:
-
VERSION.txt
-
if
:
'
$CI_COMMIT_BRANCH'
when
:
never
artifacts
:
paths
:
-
MeshModel/target/site/apidocs/
-
GUI/target/site/apidocs/
-
Comparison/target/site/apidocs/
-
target/site/apidocs/
expire_in
:
1 hour
when
:
on_success
#document:
# stage: document
# script:
# - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:javadoc
# - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:aggregate
# tags:
# - shared-fi
# rules:
# - if: '$CI_COMMIT_BRANCH == "master"'
# changes:
# - VERSION.txt
# - if: '$CI_COMMIT_BRANCH'
# when: never
# artifacts:
# paths:
# - MeshModel/target/site/apidocs/
# - GUI/target/site/apidocs/
# - Comparison/target/site/apidocs/
# - target/site/apidocs/
# expire_in: 1 hour
# when: on_success
# publish release when commiting to master and the VERSION.txt file has changed
publish
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment