From: Robert Tomczyk Date: Mon, 25 Nov 2019 15:15:46 +0000 (+0000) Subject: Merge "ONAP: Adding Jenkins jobs for oparent repo" X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=22d50ba1206114c50cc8d327a1653ebc6d883207;hp=cb42c99f26a81a7e551e2008ebf9553c51a14a28;p=infra%2Fcicd.git Merge "ONAP: Adding Jenkins jobs for oparent repo" --- diff --git a/jjb/geode-native/apache-geode-native-slave/slave_setup.sh b/jjb/geode-native/apache-geode-native-slave/slave_setup.sh index 3dc2c5d3..4b216c1b 100755 --- a/jjb/geode-native/apache-geode-native-slave/slave_setup.sh +++ b/jjb/geode-native/apache-geode-native-slave/slave_setup.sh @@ -160,7 +160,7 @@ case ${ID,,} in try=0 while sudo lsof ${DPKG_LOCK} > /dev/null 2>&1 ; do echo "DPKG file locked: ${DPKG_LOCK}." - echo " Waiting for another pkg instalaltion process to finish ..." + echo " Waiting for another pkg installation process to finish ..." sleep 10 if [[ ${try} -gt 60 ]] ; then echo "ERROR: Max number of re-tries reached, exiting..." diff --git a/jjb/onap/oparent/oparent-push-upstream-jobs.yaml b/jjb/onap/oparent/oparent-push-upstream-jobs.yaml new file mode 100644 index 00000000..9ef8c831 --- /dev/null +++ b/jjb/onap/oparent/oparent-push-upstream-jobs.yaml @@ -0,0 +1,27 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2019 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 push-upstream is commented on a change on Nordix Gerrit. +- project: + name: oparent-push-upstream + project: oparent + project-name: oparent + + jobs: + - 'onap-{project-name}-push-upstream' diff --git a/jjb/onap/oparent/oparent-rebase-jobs.yaml b/jjb/onap/oparent/oparent-rebase-jobs.yaml new file mode 100644 index 00000000..24852b35 --- /dev/null +++ b/jjb/onap/oparent/oparent-rebase-jobs.yaml @@ -0,0 +1,29 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2019 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 merged to +# oparent project on ONAP Gerrit. + +- project: + name: oparent-rebase + project: oparent + project-name: oparent + + jobs: + - 'onap-{project-name}-rebase' diff --git a/jjb/onap/oparent/oparent-verify-jobs.yaml b/jjb/onap/oparent/oparent-verify-jobs.yaml new file mode 100644 index 00000000..5b5145b1 --- /dev/null +++ b/jjb/onap/oparent/oparent-verify-jobs.yaml @@ -0,0 +1,34 @@ +--- +# +# ============LICENSE_START======================================================= +# Copyright (C) 2018-2019 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 +# oparent project on Nordix Gerrit. + +- project: + name: oparent-verify + project: oparent + project-name: oparent + + stream: + - master: + branch: '{stream}' + + jobs: + - 'onap-{project-name}-{stream}-verify-java'