Commit 582b9398 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

gitlab CI script for minerva.war file

parent c8ec6c07
image: node
before_script:
- cd frontend-js
- npm install
- cd ..
test_frontend:
script:
- cd frontend-js
- npm install
- npm test
\ No newline at end of file
build_war:
image: debian
only:
- tags
artifacts:
paths:
- minerva.war
script:
- apt-get update
- apt-get install -y curl sudo gnupg git
- curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
- sudo apt-get install -y nodejs
- apt-get install -y openjdk-8-jdk ant maven
- ant maven-build
- cp web/target/web-1.0.war minerva.war
Markdown is supported
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