Add tagging jobs to create git tags on trellis repos
Fix email address used to push tags
Change-Id: I2be5361ee66d3a589e4c1f8f0f39c0e0b19e6f26
diff --git a/jjb/repos/tost-onos.yaml b/jjb/repos/tost-onos.yaml
index 9ee0a4c..3475736 100644
--- a/jjb/repos/tost-onos.yaml
+++ b/jjb/repos/tost-onos.yaml
@@ -9,6 +9,9 @@
- 'verify-tost-onos-jobs':
branch-regexp: '{supported-branches-regexp}'
+ - 'publish-tost-onos-jobs':
+ branch-regexp: '{supported-branches-regexp}'
+
- job-group:
name: 'verify-tost-onos-jobs'
jobs:
@@ -18,3 +21,8 @@
- 'make-test':
make-test-targets: 'docker-build'
junit-allow-empty-results: true
+
+- job-group:
+ name: 'publish-tost-onos-jobs'
+ jobs:
+ - 'version-tag'
diff --git a/jjb/repos/trellis-control.yaml b/jjb/repos/trellis-control.yaml
index 3ad64c4..766fe9c 100644
--- a/jjb/repos/trellis-control.yaml
+++ b/jjb/repos/trellis-control.yaml
@@ -6,14 +6,22 @@
project: '{name}'
jobs:
- - 'trellis-control-jobs':
+ - 'verify-trellis-control-jobs':
branch-regexp: '^(.*)$'
junit-allow-empty-results: true
+ - 'publish-trellis-control-jobs':
+ branch-regexp: '^(.*)$'
+
- job-group:
- name: 'trellis-control-jobs'
+ name: 'verify-trellis-control-jobs'
jobs:
- 'verify-licensed'
- 'tag-check'
- 'maven-test'
+
+- job-group:
+ name: 'publish-trellis-control-jobs'
+ jobs:
+ - 'version-tag'
- 'maven-publish'
diff --git a/jjb/repos/trellis-t3.yaml b/jjb/repos/trellis-t3.yaml
index 03a0b98..71e7ca1 100644
--- a/jjb/repos/trellis-t3.yaml
+++ b/jjb/repos/trellis-t3.yaml
@@ -10,10 +10,18 @@
branch-regexp: '^(.*)$'
junit-allow-empty-results: true
+ - 'publish-trellis-t3-jobs':
+ branch-regexp: '^(.*)$'
+
- job-group:
name: 'trellis-t3-jobs'
jobs:
- 'verify-licensed'
- 'tag-check'
- 'maven-test'
+
+- job-group:
+ name: 'publish-trellis-t3-jobs'
+ jobs:
+ - 'version-tag'
- 'maven-publish'