Skip to content
Snippets Groups Projects
Commit 5ed10d18 authored by Jasmin Lehtola's avatar Jasmin Lehtola
Browse files

Update .gitlab-ci.yml

parent a1bb47fb
No related branches found
No related tags found
No related merge requests found
Pipeline #66013 failed
......@@ -47,3 +47,32 @@ deploy-job: # This job runs in the deploy stage.
script:
- echo "Deploying application..."
- echo "Application successfully deployed."
image: openjdk:latest
build:
stage: build
script:
- javac SiteGen.java
test:
stage: test
script:
- javac -cp "./junit-platform-console-standalone-1.8.1.jar" SiteGenTest.java SiteGen.java
- java -jar junit-platform-console-standalone-1.8.1.jar -cp "." -c SiteGenTest
pages:
stage: deploy
script:
- javac SiteGen.java
- java SiteGen
artifacts:
paths:
- public
only:
- main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment