Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andreas Tsagkaropoulos
morphemic-preprocessor
Commits
d4c9c9de
Commit
d4c9c9de
authored
Apr 08, 2021
by
Alicja Reniewicz
Browse files
added config for build
parent
aba7e9ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
d4c9c9de
# Gitlab CI/CD script for the Morphemic Preprocessor project
variables
:
MAVEN_IMAGE
:
"
maven:3.5.2-jdk-8"
LOCAL_REPO
:
"
127.0.0.1:5000"
SCHEDULING_ABSTRACTION_LAYER_CLI
:
"
mvn
-DskipTests
--batch-mode
-f
scheduling-abstraction-layer/pom.xml"
cache
:
paths
:
-
maven_repo/
before_script
:
-
echo '=========================================================================='
-
echo $SCHEDULING_ABSTRACTION_LAYER_CLI
-
echo '=========================================================================='
-
mkdir -p $HOME/.m2
-
echo '<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>'$CI_PROJECT_DIR'/maven_repo</localRepository>
</settings>' > $HOME/.m2/settings.xml
stages
:
-
build
-
deploy
build
:
stage
:
build
image
:
$MAVEN_IMAGE
script
:
-
$SCHEDULING_ABSTRACTION_LAYER_CLI clean install
artifacts
:
paths
:
-
/builds/melodic/morphemic-preprocessor/maven_repo/org/activeeon/scheduling-abstraction-layer/
#todo add deploy jar to nexus
deploy
:
stage
:
deploy
image
:
$MAVEN_IMAGE
only
:
-
master
-
morphemic-rc1.5
script
:
-
$SCHEDULING_ABSTRACTION_LAYER_CLI clean install
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment