Commit 8b8f5d45 authored by Jan Mayer's avatar Jan Mayer
Browse files

extended pipeline

parent d9f29b49
Pipeline #33642 failed
image: rvancea/maven-chrome-jdk8:latest
image: maven:3.3.9-jdk-8
variables:
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
cache:
paths:
- ./.m2/repository
stages:
- prebuild
- build
- test
- publish
build:
stage: build
prebuild:
stage: prebuild
script:
- echo 'maven build'
- echo 'maven build dependencies'
- mvn -f core/ActorFramework/pom.xml clean compile install -Dmaven.test.skip=true
- mvn -f projects/memapOpcServer/pom.xml clean compile install -Dmaven.test.skip=true
artifacts:
paths:
- target/
build_artifacts:
stage: build
script:
- echo 'maven build artefacts'
- mvn -f projects/memapCore/pom.xml clean compile install -Dmaven.test.skip=true
- mvn -f projects/memapGui/pom.xml clean compile install -Dmaven.test.skip=true
dependencies:
- prebuild
artifacts:
paths:
- target/*.jar
expire_in: 1 week
- target/
test_server:
......@@ -27,3 +48,25 @@ test_planningTool:
stage: test
script:
- echo 'here test configuration is needed for planning tool'
publish:
stage: publish
rules:
- if: $CI_COMMIT_TAG
needs:
- job: build
artifacts: true
script:
- echo 'Running release_job'
release:
name: 'Release $CI_COMMIT_TAG'
description: 'Release created for tagged merge to main.'
assets:
links:
- name: 'asset1'
url: 'https://example.com/assets/1'
- name: 'asset2'
url: 'https://example.com/assets/2'
filepath: '/pretty/url/1' # optional
link_type: 'other' # optional
\ 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