maven/plans/smoke.fmf
2022-08-18 12:11:10 +02:00

42 lines
903 B
Plaintext

prepare:
how: install
exclude:
- maven-openjdk8
- maven-openjdk11
- maven-openjdk17
discover:
how: shell
tests:
- name: /smoke/ensure-single-jdk
test: "! rpm -qa | grep ^java- | grep -v ^java-${JDK_VERSION}-openjdk-"
- name: /smoke/show-version
test: mvn -v
- name: /smoke/dependency-get
test: rm -rf $HOME/.m2 && mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar
execute:
how: tmt
/jdk8:
summary: Basic smoke tests (OpenJDK 8)
environment:
JDK_VERSION: 1.8.0
prepare+:
exclude-:
- maven-openjdk8
/jdk11:
summary: Basic smoke tests (OpenJDK 11)
environment:
JDK_VERSION: 11
prepare+:
exclude-:
- maven-openjdk11
/jdk17:
summary: Basic smoke tests (OpenJDK 17)
environment:
JDK_VERSION: 17
prepare+:
exclude-:
- maven-openjdk17