From: liamfallon Date: Wed, 19 Dec 2018 12:52:49 +0000 (+0000) Subject: Add verify and rebase jobs for policy common and distribution X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=d4d261f60da256af10cd9864eda806d734230211;p=infra%2Fcicd.git Add verify and rebase jobs for policy common and distribution Change-Id: Id15205b7676a1f401ab3ce2a142033e388f9bd9e Signed-off-by: liamfallon --- diff --git a/jjb/policy/policy-apex-pdp-verify-jobs.yaml b/jjb/policy/policy-apex-pdp-verify-jobs.yaml index ee1470bb7..bc048d9f9 100644 --- a/jjb/policy/policy-apex-pdp-verify-jobs.yaml +++ b/jjb/policy/policy-apex-pdp-verify-jobs.yaml @@ -32,4 +32,3 @@ jobs: - '{project-name}-{stream}-verify-java' - diff --git a/jjb/policy/policy-common-rebase-jobs.yaml b/jjb/policy/policy-common-rebase-jobs.yaml new file mode 100644 index 000000000..15fa9d784 --- /dev/null +++ b/jjb/policy/policy-common-rebase-jobs.yaml @@ -0,0 +1,16 @@ +--- +# this job gets triggered when a change is merged to +# policy/common project on ONAP Gerrit. +- project: + name: policy-common-rebase + project: policy/common + project-name: policy-common + + stream: + - master: + branch: '{stream}' +# - casablanca: +# branch: '{stream}' + + jobs: + - '{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-common-verify-jobs.yaml b/jjb/policy/policy-common-verify-jobs.yaml new file mode 100644 index 000000000..8e0cd6f70 --- /dev/null +++ b/jjb/policy/policy-common-verify-jobs.yaml @@ -0,0 +1,36 @@ +--- +# +# ============LICENSE_START======================================================= +# Copyright (C) 2018 Nordix Foundation. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +# +# this job gets triggered when a change is proposed to +# policy/common project on Nordix Gerrit. + +- project: + name: policy-common-verify + project: policy/common + project-name: policy-common + + stream: + - 'master': + branch: '{stream}' + - 'nordix-dev': + branch: '{stream}' + + jobs: + - '{project-name}-{stream}-verify-java' diff --git a/jjb/policy/policy-distribution-rebase-jobs.yaml b/jjb/policy/policy-distribution-rebase-jobs.yaml new file mode 100644 index 000000000..48ac4eb91 --- /dev/null +++ b/jjb/policy/policy-distribution-rebase-jobs.yaml @@ -0,0 +1,16 @@ +--- +# this job gets triggered when a change is merged to +# policy/distribution project on ONAP Gerrit. +- project: + name: policy-distribution-rebase + project: policy/distribution + project-name: policy-distribution + + stream: + - master: + branch: '{stream}' +# - casablanca: +# branch: '{stream}' + + jobs: + - '{project-name}-{stream}-rebase' diff --git a/jjb/policy/policy-distribution-verify-jobs.yaml b/jjb/policy/policy-distribution-verify-jobs.yaml new file mode 100644 index 000000000..d8f9480de --- /dev/null +++ b/jjb/policy/policy-distribution-verify-jobs.yaml @@ -0,0 +1,36 @@ +--- +# +# ============LICENSE_START======================================================= +# Copyright (C) 2018 Nordix Foundation. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +# +# this job gets triggered when a change is proposed to +# policy/distribution project on Nordix Gerrit. + +- project: + name: policy-distribution-verify + project: policy/distribution + project-name: policy-distribution + + stream: + - 'master': + branch: '{stream}' + - 'nordix-dev': + branch: '{stream}' + + jobs: + - '{project-name}-{stream}-verify-java'