Allow xos to have dev SemVer patches
Don't perform XOS api tests on docs-only patches
Change-Id: Ib29c28d4c7b985864a691b30a3661b232054c696
ehange-Id: Ib04702c93e9c474e5b8c05cbfcfabfc53bf53c76
diff --git a/jjb/api-test.yaml b/jjb/api-test.yaml
index f72b0ac..556b407 100644
--- a/jjb/api-test.yaml
+++ b/jjb/api-test.yaml
@@ -13,7 +13,7 @@
gerrit-server-name: '{gerrit-server-name}'
project-regexp: '^{project}$'
branch-regexp: '{branch-regexp}'
- file-include-regexp: '{all-files-regexp}'
+ file-include-regexp: '{not-doc-files-regexp}'
dependency-jobs: '{dependency-jobs}'
properties:
diff --git a/jjb/defaults.yaml b/jjb/defaults.yaml
index f8bdec5..f29f066 100644
--- a/jjb/defaults.yaml
+++ b/jjb/defaults.yaml
@@ -82,6 +82,7 @@
# for matching files with file-include-regexp
all-files-regexp: '.*'
doc-files-regexp: '^docs/.*'
+ not-doc-files-regexp: '^(?!docs).*'
# Jenkins SSH host doc publisher
docs-ssh-host: 'guide.opencord.org'
diff --git a/jjb/verify/xos.yaml b/jjb/verify/xos.yaml
index 4a474b6..fdf135b 100644
--- a/jjb/verify/xos.yaml
+++ b/jjb/verify/xos.yaml
@@ -8,7 +8,6 @@
jobs:
- 'verify-xos-jobs':
branch-regexp: '{supported-branches-regexp}'
- semver-strict: 1
- job-group:
name: 'verify-xos-jobs'
diff --git a/jjb/xos-synchronizer-update.yaml b/jjb/xos-synchronizer-update.yaml
index f433860..305ba60 100644
--- a/jjb/xos-synchronizer-update.yaml
+++ b/jjb/xos-synchronizer-update.yaml
@@ -12,7 +12,7 @@
gerrit-server-name: '{gerrit-server-name}'
project-regexp: '^{project}$'
branch-regexp: '{branch-regexp}'
- file-include-regexp: '{all-files-regexp}'
+ file-include-regexp: '{not-doc-files-regexp}'
dependency-jobs: '{dependency-jobs}'
properties:
diff --git a/jjb/xos-unit.yaml b/jjb/xos-unit.yaml
index b5bd741..60151d9 100644
--- a/jjb/xos-unit.yaml
+++ b/jjb/xos-unit.yaml
@@ -14,7 +14,7 @@
project-regexp: '^{project}$'
branch-regexp: '{branch-regexp}'
dependency-jobs: '{dependency-jobs}'
- file-include-regexp: '{all-files-regexp}'
+ file-include-regexp: '{not-doc-files-regexp}'
properties:
- cord-infra-properties: