Last active
March 28, 2026 16:55
-
-
Save FlorianHeigl/391cacc1d2767a33c388d80200f7f19a to your computer and use it in GitHub Desktop.
verinice 1.28 gitlab-ci config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stages: | |
| - .pre | |
| - build | |
| - test | |
| - install | |
| - .post | |
| default: | |
| image: maven:3.9.14-amazoncorretto-21 | |
| cache: | |
| paths: &ref_0 | |
| - .m2/repository | |
| tags: | |
| - docker | |
| variables: | |
| # for proxy | |
| #-DproxySet=true | |
| #-Dhttp.proxy=proxy.domain.tld -Dhttp.proxyPort=3128 | |
| #-Dhttp.nonProxyHosts=localhost|127.0.0.1|::1|*.localdomain|*.int.domain.tld" | |
| MAVEN_OPTS: >- | |
| -Dtycho.mode=maven -DnewVersion=1.28.0.qualifier | |
| -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository | |
| MAVEN_CLI_OPTS: '-DskipTests' | |
| build-JAR: | |
| stage: build | |
| script: | |
| - mvn $MAVEN_CLI_OPTS tycho-versions:set-version | |
| cache: | |
| - paths: *ref_0 | |
| policy: pull-push | |
| when: on_success | |
| image: | |
| name: maven:3.9.14-amazoncorretto-21 | |
| build-DOC: | |
| stage: build | |
| script: | |
| - >- | |
| yum -y install make zip texlive latex2html texlive-babel-german | |
| texlive-placeins ; cd doc/manual && make && cd - | |
| artifacts: | |
| paths: | |
| - doc/manual/de/verinice-Benutzerdokumentation.pdf | |
| - doc/manual/de/verinice-Benutzerdokumentation.zip | |
| - doc/manual/en/verinice-user_manual_EN.pdf | |
| - doc/manual/en/verinice-user_manual_EN.zip | |
| cache: | |
| - paths: *ref_0 | |
| policy: pull-push | |
| when: on_success | |
| image: | |
| name: maven:3.9.14-amazoncorretto-21 | |
| test-code: | |
| stage: test | |
| script: | |
| - mvn test | |
| cache: | |
| - paths: *ref_0 | |
| policy: pull-push | |
| when: on_success | |
| image: | |
| name: maven:3.9.14-amazoncorretto-21 | |
| install-JAR: | |
| stage: install | |
| script: | |
| - mvn $MAVEN_CLI_OPTS install | |
| artifacts: | |
| paths: | |
| - sernet.verinice.releng.server.product/target/veriniceserver-*.war | |
| - sernet.verinice.releng.client.product/target/products/*.zip | |
| cache: | |
| - paths: *ref_0 | |
| policy: pull-push | |
| when: on_success | |
| image: | |
| name: maven:3.9.14-amazoncorretto-21 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment