Revise Maven-based tests/builds
- Rename jobs to match current naming scheme
- Allow jobs to be renamed so they can be used with both JDK 8 and 11
- Run tests and publish junit/cobertura if found
- Move repo jobs into the verify dir from the maven dir to match others
- Update tagcollision/versiontag to parse versions from pom.xml files
Change-Id: I5e9da20bbdcb0edc62bb35e171aa4e13f91c2ab1
diff --git a/jjb/verify/vtn.yaml b/jjb/verify/vtn.yaml
new file mode 100644
index 0000000..1dbed6d
--- /dev/null
+++ b/jjb/verify/vtn.yaml
@@ -0,0 +1,37 @@
+---
+# jobs for 'vtn' repo
+
+- project:
+ name: vtn
+ project: '{name}'
+
+ jobs:
+ - 'vtn-jobs-common':
+ branch-regexp: '^(.*)$'
+
+ - 'vtn-jobs':
+ branch-regexp: '^(master)$'
+
+ - 'vtn-jobs-legacy':
+ branch-regexp: '^(vtn-1.7)$'
+ jdk-distribution: 'java-1.8.0-amazon-corretto'
+ name-extension: '-jdk8'
+
+- job-group:
+ name: 'vtn-jobs-common'
+ jobs:
+ - 'verify-licensed'
+ - 'tag-collision-reject'
+
+- job-group:
+ name: 'vtn-jobs'
+ jobs:
+ - 'maven-test'
+ - 'maven-publish'
+
+- job-group:
+ name: 'vtn-jobs-legacy'
+ jobs:
+ - 'maven-test'
+ - 'maven-publish'
+