dragoon/.woodpecker.yml
Gregory Ballantine dad3e6c1cf
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Added .deb and .rpm package build step
2022-07-17 13:32:58 -04:00

34 lines
708 B
YAML

pipeline:
test:
image: maven:3-jdk-11
commands:
- apt update && apt install -y lsof
- mvn test
build:
image: maven:3-jdk-11
commands:
- mvn clean compile assembly:single
package:
image: maven:3-jdk-11
commands:
- apt update && apt install -y rpm
- mvn clean compile package
when:
event: tag
gitea_release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.metaunix.net
title: "${CI_COMMIT_TAG}"
files:
- target/dragoon-*.jar
- target/dragoon-*.deb
- target/rpm/dragoon/RPMS/noarch/dragoon-*.rpm
when:
event: tag