An error occurred while loading the file. Please try again.
This GitLab CI configuration is valid. Learn more
.gitlab-ci.yml 560 bytes
pages:
  stage: deploy
  tags: 
    - docker # use shared runner
  image: maven:3.6.3-adoptopenjdk-15
  script:
    - cd de.hftstuttgart.energycomponents.parent
    - mvn --version
    - mvn clean install   # build p2 repo
    - cd ..
    - rm -rf public
    - mkdir -p public
    - cp catalogs/Catalog.encomp public
    - cp site/*.html public
    - cp de.hftstuttgart.energycomponents.product/target/products/*.zip public
    - cp de.hftstuttgart.energycomponents.product/target/products/*.gz public
  artifacts:
    paths:
      - public
  only:
  - master