Commit 159fdbf1 authored by Kai-Holger Brassel's avatar Kai-Holger Brassel
Browse files

Adapt to default gitlab pages deamon

No related merge requests found
Pipeline #2093 failed with stage
in 3 minutes and 42 seconds
Showing with 10 additions and 26 deletions
+10 -26
stages:
- build
- deploy
variables: variables:
EXPORT_DIR: "/var/www/html/pages" RELEASE_DIR: "public/release_target_100"
RELEASE_DIR: "$EXPORT_DIR/$CI_PROJECT_NAME/release_target_100"
build-p2: pages:
stage: build stage: deploy
tags: tags:
- docker # use shared runner - docker # use shared runner
image: maven:3.6.3-adoptopenjdk-15 image: maven:3.6.3-adoptopenjdk-15
script: script:
- mvn --version - mvn --version
- mvn clean install - mvn clean install # build p2 repo
only: - rm -rf $RELEASE_DIR
- master - mkdir -p $RELEASE_DIR
- cp -r de.hftstuttgart.cityunits.p2site/target/repository/* $RELEASE_DIR
artifacts: artifacts:
paths: paths:
- de.hftstuttgart.cityunits.p2site/target/repository/ - public
expire_in: 1 day
pages-master:
stage: deploy
dependencies:
- build-p2
tags:
- production # use special CLI runner for publishing to $EXPORT_DIR
script:
- rm -rf "$RELEASE_DIR"
- mkdir -p "$RELEASE_DIR"
- cp -r de.hftstuttgart.cityunits.p2site/target/repository/* "$RELEASE_DIR"
only: only:
- master - master
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
Create Eclipse P2 repository with Ecore data types for units based on Indriya reference implementation and some special units for urban simulation. Create Eclipse P2 repository with Ecore data types for units based on Indriya reference implementation and some special units for urban simulation.
To add OSGi bundles published in this P2 repository add site [https://transfer.hft-stuttgart.de/pages/de.hft-stuttgart.cityunits/release_target_100/]() to a running Eclipse instance via `Eclipse -> Preferences -> Install/Update -> Available Software Sites -> Add...` or to a target platform definition via `Eclipse -> Preferences -> Plug-in Development -> Target Platform -> Edit...`. To add OSGi bundles published in this P2 repository add site [https://transfer.hft-stuttgart.de/pages/neqmodplus/de.hft-stuttgart.cityunits/release_target_100/]() to a running Eclipse instance via `Eclipse -> Preferences -> Install/Update -> Available Software Sites -> Add...` or to a target platform definition via `Eclipse -> Preferences -> Plug-in Development -> Target Platform -> Edit...`.
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment