Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NeqModPlus
Indriya P2
Commits
1edfbd91
Commit
1edfbd91
authored
Dec 09, 2020
by
Kai-Holger Brassel
Browse files
Test handover of directories in pipeline
parent
5c95ef9f
Pipeline
#1651
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1edfbd91
...
...
@@ -6,21 +6,30 @@ variables:
EXPORT_DIR
:
"
/var/www/html/pages"
build-p2
:
image
:
maven:3.6.3-adoptopenjdk-15
stage
:
build
script
:
-
mvn --version
tags
:
-
docker
pages-master
:
stage
:
deploy
image
:
maven:3.6.3-adoptopenjdk-15
script
:
-
mvn --version
-
mkdir -p "$EXPORT_DIR/$CI_PROJECT_NAME"
-
cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME"
mkdir -p indriya_repo.tar de.hft-stuttgart.indriya.p2site/target/repository
-
touch indriya_repo.tar de.hft-stuttgart.indriya.p2site/target/repository/p2.index
-
touch indriya_repo.tar de.hft-stuttgart.indriya.p2site/target/repository/p2.test
# - mvn clean install
artifacts
:
paths
:
-
indriya_repo.tar de.hft-stuttgart.indriya.p2site/target/repository/
expire_in
:
1 day
pages-master
:
stage
:
deploy
tags
:
-
production
script
:
-
rm -rf "$EXPORT_DIR/$CI_PROJECT_NAME"
-
mkdir -p "$EXPORT_DIR/$CI_PROJECT_NAME/release_target_211"
-
cp -r de.hft-stuttgart.indriya.p2site/target/repository/* "$EXPORT_DIR/$CI_PROJECT_NAME/release_target_211/"
# - cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME"
artifacts
:
paths
:
-
public
...
...
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