Deploy and release on Java 11

This commit is contained in:
Nanne Baars 2020-04-19 09:45:17 +02:00 committed by Nanne Baars
parent 52b66ed506
commit 27bf08ad5c

View File

@ -24,14 +24,17 @@ before_deploy:
- cp -fa $WEBWOLF_TARGET_DIR/*.jar $WEBGOAT_ARTIFACTS_FOLDER/ - cp -fa $WEBWOLF_TARGET_DIR/*.jar $WEBGOAT_ARTIFACTS_FOLDER/
- echo "Contents of artifacts folder:" - echo "Contents of artifacts folder:"
- ls $WEBGOAT_ARTIFACTS_FOLDER - ls $WEBGOAT_ARTIFACTS_FOLDER
deploy: jobs:
- provider: script include:
- stage: deploy
jdk: openjdk11
skip_cleanup: true skip_cleanup: true
script: bash scripts/deploy-webgoat.sh script: bash scripts/deploy-webgoat.sh
on: on:
repo: WebGoat/WebGoat repo: WebGoat/WebGoat
tags: true tags: true
- provider: releases - stage: releases
jdk: openjdk11
skip_cleanup: true skip_cleanup: true
overwrite: true overwrite: true
api_key: api_key: