mvn-settings: 'aaa-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: aaa
- description: 'List of aaa jobs'
- regex: '^aaa-.*'
- <<: *releng_view_common
+- project:
+ name: aaa-view
+ views:
+ - project-view
+ project-name: aaa
mvn-settings: 'alto-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: alto
- description: 'List of alto jobs'
- regex: '^alto-.*'
- <<: *releng_view_common
+- project:
+ name: alto-view
+ views:
+ - project-view
+ project-name: alto
branch: 'master'
mvn-settings: 'archetypes-settings'
-- view:
- name: archetypes
- regex: '^archetypes-.*'
- description: 'List of archetypes jobs'
- <<: *releng_view_common
+- project:
+ name: archetypes-view
+ views:
+ - project-view
+ project-name: archetypes
**/target/feature/feature.xml
# TODO: **/*.hprof is too large, compress with xz first
-- view:
- name: autorelease
- description: 'List of autorelease jobs'
- regex: '^autorelease-.*'
- <<: *releng_view_common
+- project:
+ name: autorelease-view
+ views:
+ - project-view
+ project-name: autorelease
- lf-maven-install:
mvn-version: '{mvn-version}'
- wipe-local-maven-repo
- - jacoco-nojava-workaround
+ - lf-jacoco-nojava-workaround
- shell: "./scripts/list-project-dependencies.sh"
- autorelease-determine-merge-order
- autorelease-cfp:
- lf-infra-pre-build
- autorelease-checkout-gerrit-patch
- autorelease-compare-projects
- - jacoco-nojava-workaround
+ - lf-jacoco-nojava-workaround
- shell: "./scripts/list-project-dependencies.sh"
- autorelease-determine-merge-order
- autorelease-generate-release-patches
mvn-settings: 'bgpcep-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: bgpcep
- description: 'List of bgpcep jobs'
- regex: '^bgpcep-.*'
- <<: *releng_view_common
+- project:
+ name: bgpcep-view
+ views:
+ - project-view
+ project-name: bgpcep
mvn-settings: 'bier-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: bier
- description: 'List of bier jobs'
- regex: '^bier-.*'
- <<: *releng_view_common
+- project:
+ name: bier-view
+ views:
+ - project-view
+ project-name: bier
mvn-settings: 'capwap-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: capwap
- description: 'List of capwap jobs'
- regex: '^capwap-.*'
- <<: *releng_view_common
+
+- project:
+ name: capwap-view
+ views:
+ - project-view
+ project-name: capwap
mvn-settings: 'cardinal-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: cardinal
- description: 'List of cardinal jobs'
- regex: '^cardinal-.*'
- <<: *releng_view_common
+- project:
+ name: cardinal-view
+ views:
+ - project-view
+ project-name: cardinal
mvn-settings: 'centinel-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: centinel
- description: 'List of centinel jobs'
- regex: '^centinel-.*'
- <<: *releng_view_common
+- project:
+ name: centinel-view
+ views:
+ - project-view
+ project-name: centinel
mvn-settings: 'coe-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: coe
- description: 'List of coe jobs'
- regex: '^coe-.*'
- <<: *releng_view_common
+- project:
+ name: coe-view
+ views:
+ - project-view
+ project-name: coe
mvn-goals: 'clean deploy -Pintegrationtests,docs'
mvn-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-- view:
- name: controller
- description: 'List of controller jobs'
- regex: '^controller-.*'
- <<: *releng_view_common
+- project:
+ name: controller-view
+ views:
+ - project-view
+ project-name: controller
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
build-timeout: 120
-- view:
- name: coretutorials
- description: 'List of coretutorials jobs'
- regex: '^coretutorials-.*'
- <<: *releng_view_common
+- project:
+ name: coretutorials-view
+ views:
+ - project-view
+ project-name: coretutorials
mvn-settings: 'daexim-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: daexim
- description: 'List of daexim jobs'
- regex: '^daexim-.*'
- <<: *releng_view_common
+- project:
+ name: daexim-view
+ views:
+ - project-view
+ project-name: daexim
mvn-settings: 'didm-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: didm
- description: 'List of didm jobs'
- regex: '^didm-.*'
- <<: *releng_view_common
+- project:
+ name: didm-view
+ views:
+ - project-view
+ project-name: didm
mvn-settings: 'dlux-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: dlux
- description: 'List of dlux jobs'
- regex: '^dlux-.*'
- <<: *releng_view_common
+- project:
+ name: dlux-view
+ views:
+ - project-view
+ project-name: dlux
mvn-settings: 'dluxapps-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: dluxapps
- description: 'List of dluxapps jobs'
- regex: '^dluxapps-.*'
- <<: *releng_view_common
+- project:
+ name: dluxapps-view
+ views:
+ - project-view
+ project-name: dluxapps
rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight/32322/
rtd-token: 86e54dd38c651e2164ea63c183ae601d19cd1f3c
-- view:
- name: docs
- description: 'List of docs jobs'
- regex: '^docs-.*'
- <<: *releng_view_common
+- project:
+ name: docs-view
+ views:
+ - project-view
+ project-name: docs
mvn-settings: 'eman-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: eman
- description: 'List of eman jobs'
- regex: '^eman-.*'
- <<: *releng_view_common
+- project:
+ name: eman-view
+ views:
+ - project-view
+ project-name: eman
mvn-settings: 'faas-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: faas
- description: 'List of faas jobs'
- regex: '^faas-.*'
- <<: *releng_view_common
+- project:
+ name: faas-view
+ views:
+ - project-view
+ project-name: faas
mvn-settings: 'federation-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: federation
- description: 'List of federation jobs'
- regex: '^federation-.*'
- <<: *releng_view_common
+- project:
+ name: federation-view
+ views:
+ - project-view
+ project-name: federation
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2016 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-
-if [[ "$P2ZIP_URL" == "" ]]; then
- P2ZIP_URL=opendaylight.snapshot/$(find . -name "*.zip" -type f -exec ls "{}" + | head -1)
- FILE_NAME=$(echo "$P2ZIP_URL" | awk -F'/' '{ print $NF }')
- RELEASE_PATH="snapshot"
-else
- FILE_NAME=$(echo "$P2ZIP_URL" | awk -F'/' '{ print $NF }')
- VERSION=$(echo "$P2ZIP_URL" | awk -F'/' '{ print $(NF-1) }')
- RELEASE_PATH="release/$VERSION"
- wget --quiet "$P2ZIP_URL" -O "$FILE_NAME"
-fi
-
-# If we detect a snapshot build then release to a snapshot repo
-# YangIDE has indicated that the only want the latest snapshot released to
-# the snapshot directory.
-if echo "$P2ZIP_URL" | grep opendaylight.snapshot; then
- RELEASE_PATH="snapshot"
-fi
-
-cat > "${WORKSPACE}/pom.xml" <<EOF
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.opendaylight.$PROJECT</groupId>
- <artifactId>p2repo</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.8.2</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>maven-upload-plugin</artifactId>
- <version>0.0.1</version>
- <executions>
- <execution>
- <id>publish-site</id>
- <phase>deploy</phase>
- <goals>
- <goal>upload-file</goal>
- </goals>
- <configuration>
- <serverId>opendaylight-p2</serverId>
- <repositoryUrl>https://nexus.opendaylight.org/service/local/repositories/p2repos/content-compressed</repositoryUrl>
- <file>$FILE_NAME</file>
- <repositoryPath>org.opendaylight.$PROJECT/$RELEASE_PATH</repositoryPath>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
-EOF
mvn-settings: 'genius-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: genius
- description: 'List of genius jobs'
- regex: '^genius-.*'
- <<: *releng_view_common
+- project:
+ name: genius-view
+ views:
+ - project-view
+ project-name: genius
mvn-goals: '-U clean deploy findbugs:findbugs'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: groupbasedpolicy
- description: 'List of groupbasedpolicy jobs'
- regex: '^groupbasedpolicy-.*'
- <<: *releng_view_common
+- project:
+ name: groupbasedpolicy-view
+ views:
+ - project-view
+ project-name: groupbasedpolicy
mvn-settings: 'honeycomb-vbd-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: vbd
- description: 'List of vbd jobs'
- regex: '^vbd-.*'
- <<: *releng_view_common
+- project:
+ name: vbd-view
+ views:
+ - project-view
+ project-name: vbd
mvn-settings: 'infrautils-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: infrautils
- description: 'List of infrautils jobs'
- regex: '^infrautils-.*'
- <<: *releng_view_common
+- project:
+ name: infrautils-view
+ views:
+ - project-view
+ project-name: infrautils
mvn-goals: clean install dependency:tree -DoutputFile=dependency_tree.txt
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: distribution
- description: 'List of distribution jobs'
- regex: '^(integration-)?distribution-.*'
- <<: *releng_view_common
+- project:
+ name: distribution-view
+ views:
+ - common-view
+ view-name: distribution
+ view-regex: '^(integration-)?distribution-.*'
---
-- project:
- name: distribution-templates
-
- job-template:
name: '{project-name}-distribution-check-{stream}'
builders:
- wipe-org-opendaylight-repo
- - provide-maven-settings:
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- maven-target:
prebuilders:
- wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - provide-maven-settings:
+ - lf-jacoco-nojava-workaround
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- integration-set-variables
email-prefix: '[{project-name}]'
- integration-csit-archive-build
- lf-infra-publish
-
builders:
- integration-rebase-gerrit-patch
- wipe-org-opendaylight-repo
- - provide-maven-settings:
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- maven-target:
- wipe-org-opendaylight-repo
- lf-maven-install:
mvn-version: '{mvn-version}'
- - provide-maven-settings:
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-distribution-settings'
- integration-multipatch-builder
publishers:
- lf-infra-publish
-- view:
- name: integration
- description: 'List of integration jobs'
- regex: '^integration-.*'
- <<: *releng_view_common
+- project:
+ name: integration-view
+ views:
+ - project-view
+ project-name: integration
- view:
name: csit-stable-f
mvn-settings: 'iotdm-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: iotdm
- description: 'List of iotdm jobs'
- regex: '^iotdm-.*'
- <<: *releng_view_common
+- project:
+ name: iotdm-view
+ views:
+ - project-view
+ project-name: iotdm
mvn-settings: 'jsonrpc-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: jsonrpc
- description: 'List of jsonrpc jobs'
- regex: '^jsonrpc-.*'
- <<: *releng_view_common
+- project:
+ name: jsonrpc-view
+ views:
+ - project-view
+ project-name: jsonrpc
mvn-settings: 'l2switch-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
-- view:
- name: l2switch
- description: 'List of l2switch jobs'
- regex: '^l2switch-.*'
- <<: *releng_view_common
+- project:
+ name: l2switch-view
+ views:
+ - project-view
+ project-name: l2switch
mvn-settings: 'lacp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: lacp
- description: 'List of lacp jobs'
- regex: '^lacp-.*'
- <<: *releng_view_common
+- project:
+ name: lacp-view
+ views:
+ - project-view
+ project-name: lacp
git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
gerrit-server-name: lf-releng
-- view:
- name: lf-infra
- description: 'List of lf-infra jobs'
- regex: '^lf-infra-.*'
- <<: *releng_view_common
+- project:
+ name: lf-infra-view
+ views:
+ - project-view
+ project-name: lf-infra
git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
gerrit-server-name: lf-releng
-- view:
- name: lfn
- description: 'List of LF Networking jobs'
- regex: '^lfn-.*'
- <<: *releng_view_common
+- project:
+ name: lfn-view
+ views:
+ - project-view
+ project-name: lfn-process
mvn-goals: 'clean deploy findbugs:findbugs javadoc:aggregate -DrepoBuild'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=512m -Dmaven.compile.fork=true'
-- view:
- name: lispflowmapping
- description: 'List of lispflowmapping jobs'
- regex: '^lispflowmapping-.*'
- <<: *releng_view_common
+- project:
+ name: lispflowmapping-view
+ views:
+ - project-view
+ project-name: lispflowmapping
mvn-goals: '-Dmaven.compile.fork=true clean deploy -Dintegrationtests'
mvn-opts: '-Xmx2048m'
-- view:
- name: mdsal
- description: 'List of mdsal jobs'
- regex: '^mdsal-.*'
- <<: *releng_view_common
+- project:
+ name: mdsal-view
+ views:
+ - project-view
+ project-name: mdsal
mvn-settings: 'natapp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: natapp
- description: 'List of natapp jobs'
- regex: '^natapp-.*'
- <<: *releng_view_common
+- project:
+ name: natapp-view
+ views:
+ - project-view
+ project-name: natapp
mvn-settings: 'nemo-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: nemo
- description: 'List of nemo jobs'
- regex: '^nemo-.*'
- <<: *releng_view_common
+- project:
+ name: nemo-view
+ views:
+ - project-view
+ project-name: nemo
mvn-goals: 'clean deploy -Pintegrationtests'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-- view:
- name: netconf
- description: 'List of netconf jobs'
- regex: '^netconf-.*'
- <<: *releng_view_common
+- project:
+ name: netconf-view
+ views:
+ - project-view
+ project-name: netconf
mvn-settings: 'netide-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: netide
- description: 'List of netide jobs'
- regex: '^netide-.*'
- <<: *releng_view_common
+- project:
+ name: netide-view
+ views:
+ - project-view
+ project-name: netide
name: netvirt-sonar
jobs:
- gerrit-maven-sonar
+
project: 'netvirt'
project-name: 'netvirt'
branch: 'master'
mvn-settings: 'netvirt-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: netvirt
- description: 'List of netvirt jobs'
- regex: '^netvirt-.*'
- <<: *releng_view_common
+- project:
+ name: netvirt-csit-view
+ views:
+ - csit-view
+ view-name: netvirt-csit
+ view-description: 'List of netvirt-csit jobs'
+ view-regex: 'netvirt-csit(?!(.*gate)|(.*hwvtep)).*'
-- view:
- name: netvirt-csit
- description: 'List of netvirt-csit jobs'
- regex: 'netvirt-csit(?!(.*gate)|(.*hwvtep)).*'
- <<: *integration_view_csit
+- project:
+ name: netvirt-view
+ views:
+ - project-view
+ project-name: netvirt
mvn-settings: 'neutron-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: neutron
- description: 'List of neutron jobs'
- regex: '^neutron-.*'
- <<: *releng_view_common
+- project:
+ name: neutron-view
+ views:
+ - project-view
+ project-name: neutron
mvn-settings: 'next-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: next
- description: 'List of next jobs'
- regex: '^next-.*'
- <<: *releng_view_common
+- project:
+ name: next-view
+ views:
+ - project-view
+ project-name: next
mvn-settings: 'nic-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: nic
- description: 'List of nic jobs'
- regex: '^nic-.*'
- <<: *releng_view_common
+- project:
+ name: nic-view
+ views:
+ - project-view
+ project-name: nic
name: ocpplugin-sonar
jobs:
- gerrit-maven-sonar
+
project: 'ocpplugin'
project-name: 'ocpplugin'
branch: 'master'
mvn-settings: 'ocpplugin-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: ocpplugin
- description: 'List of ocpplugin jobs'
- regex: '^ocpplugin-.*'
- <<: *releng_view_common
+- project:
+ name: ocpplugin-view
+ views:
+ - project-view
+ project-name: ocpplugin
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017, 2018 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-# Installs the openstack cli to /tmp/v/openstack
-echo "---> Install openstack cli into /tmp/v/openstack"
-
-virtualenv "/tmp/v/openstack"
-# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
-source "/tmp/v/openstack/bin/activate"
-pip install --upgrade "pip<10.0.0" setuptools
-pip install --upgrade lftools[openstack] python-openstackclient python-heatclient
-pip freeze
mvn-settings: 'odlparent-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: odlparent
- description: 'List of odlparent jobs'
- regex: '^odlparent-.*'
- <<: *releng_view_common
+- project:
+ name: odlparent-view
+ views:
+ - project-view
+ project-name: odlparent
build-node: centos7-builder-2c-2g
build-timeout: 60
-- view:
- name: odltools
- description: 'List of odltools jobs'
- regex: '^odltools-.*'
- <<: *releng_view_common
+- project:
+ name: odltools-view
+ views:
+ - project-view
+ project-name: odltools
mvn-settings: 'of-config-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: of-config
- description: 'List of of-config jobs'
- regex: '^of-config-.*'
- <<: *releng_view_common
+- project:
+ name: of-config-view
+ views:
+ - project-view
+ project-name: of-config
echo "----------------------------------"
echo " Promoted ODL Autorelease artifact as release candidate!"
-- view:
- name: openci
- description: 'List of openci jobs'
- regex: '^openci-.*'
- <<: *releng_view_common
+- project:
+ name: openci-odl-view
+ views:
+ - project-view
+ project-name: openci-odl
name: openflowplugin-sonar
jobs:
- gerrit-maven-sonar
+
project: 'openflowplugin'
project-name: 'openflowplugin'
branch: 'master'
mvn-goals: 'clean deploy javadoc:aggregate'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: openflowplugin
- description: 'List of openflowplugin jobs'
- regex: '^openflowplugin-.*'
- <<: *releng_view_common
+- project:
+ name: openflowplugin-view
+ views:
+ - project-view
+ project-name: 'openflowplugin'
-- view:
- name: openflowplugin-oxygen
- description: 'List of openflowplugin oxygen jobs'
- regex: 'openflowplugin-.*-oxygen'
- <<: *releng_view_common
+- project:
+ name: openflowplugin-oxygen-view
+ views:
+ - common-view
+ view-name: 'openflowplugin-oxygen'
+ view-regex: '^openflowplugin-.*-oxygen'
email-prefix: '[opflex]'
- lf-infra-publish
-- view:
- name: opflex
- description: 'List of opflex jobs'
- regex: '^opflex-.*'
- <<: *releng_view_common
+- project:
+ name: opflex-view
+ views:
+ - project-view
+ project-name: opflex
mvn-settings: 'ovil-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: ovil
- description: 'List of ovil jobs'
- regex: '^ovil-.*'
- <<: *releng_view_common
+- project:
+ name: ovil-view
+ views:
+ - project-view
+ project-name: ovil
maven-version: 'mvn33'
stream: '{stream}'
OVS_VERSION: '2.5.0'
- - jacoco-nojava-workaround
+ - lf-jacoco-nojava-workaround
publishers:
- email-notification:
global-settings: 'global-settings'
global-settings-type: cfp
- shell: !include-raw-escape: cleanup-docker.sh
- - jacoco-nojava-workaround
+ - lf-jacoco-nojava-workaround
publishers:
- email-notification:
# Used by the release job
staging-profile-id: a68b188166958
-- view:
- name: ovsdb
- description: 'List of ovsdb jobs'
- regex: '^ovsdb-.*'
- <<: *releng_view_common
+- project:
+ name: ovsdb-view
+ views:
+ - project-view
+ project-name: ovsdb
mvn-settings: 'p4plugin-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: p4plugin
- description: 'List of p4plugin jobs'
- regex: '^p4plugin-.*'
- <<: *releng_view_common
+- project:
+ name: p4plugin-view
+ views:
+ - project-view
+ project-name: p4plugin
publishers:
- lf-infra-publish
+
+- project:
+ name: ansible-view
+ views:
+ - project-view
+ project-name: ansible
publishers:
- lf-infra-publish
-- view:
- name: packaging
- description: 'List of packaging, ansible and puppet jobs'
- regex: '^packaging.*|ansible.*|puppet.*'
- <<: *releng_view_common
+- project:
+ name: packaging-view
+ views:
+ - project-view
+ project-name: packaging
publishers:
- lf-infra-publish
+
+- project:
+ name: puppet-view
+ views:
+ - project-view
+ project-name: puppet
mvn-settings: 'packetcable-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: packetcable
- description: 'List of packetcable jobs'
- regex: '^packetcable-.*'
- <<: *releng_view_common
+- project:
+ name: packetcable-view
+ views:
+ - project-view
+ project-name: packetcable
further details.
https://docs.openstack.org/developer/python-openstackclient/
-- parameter:
- name: build-tag
- parameters:
- - string:
- name: BUILD_TAG
- default: ''
- description: 'Tag in Git to checkout'
-
-- parameter:
- name: controller-version-parameter
- parameters:
- - string:
- name: ODL_VERSION
- default: '{odl_version}'
- description: 'Controller version (for use with openstacks networking_odl project)'
-
- parameter:
name: patches-to-build-parameter
parameters:
default: 'master'
description: 'distribution repo branch to build with'
-- parameter:
- name: p2zip-parameter
- parameters:
- - string:
- name: P2ZIP_URL
- default: ''
- description: 'Nexus staging profile id'
-
-- parameter:
- name: stage-id-parameter
- parameters:
- - string:
- name: STAGING_PROFILE_ID
- default: '{stage-id}'
- description: 'Nexus staging profile id'
-
- parameter:
name: maven-exec
parameters:
skip-tag: true
choosing-strategy: '{choosing-strategy}'
-- wrapper:
- name: build-timeout
- wrappers:
- - timeout:
- type: absolute
- timeout: 360
- fail: true
-
# This is a single macro to use for all jobs who vote on every (relevant) patch set.
# Only 'recheck' trigger word is supported, it always triggers the full set of relevant jobs,
# in order to prevent Jenkins from starting only a subset and still voting Verified+1.
send-to:
- recipients
-
-- builder:
- # Installs the openstack cli into a virtualenv at /tmp/v/openstack
- name: odl-openstack-install
- builders:
- - shell: !include-raw: odl-openstack-install.sh
-
- builder:
name: odl-openstack-check-image-protection
builders:
builders:
- shell: !include-raw: odl-openstack-cleanup-stale-volumes.sh
-- builder:
- # Deploys a maven site to Nexus using lftools nexus-zip command
- name: opendaylight-infra-deploy-maven-site
- builders:
- - lf-provide-maven-settings:
- global-settings-file: global-settings
- settings-file: '{settings-file}'
- - lf-infra-create-netrc:
- server-id: opendaylight-site
- - shell: !include-raw-escape:
- - global-jjb/shell/lftools-install.sh
- - opendaylight-infra-deploy-maven-site.sh
- - lf-provide-maven-settings-cleanup
-
- builder:
name: opendaylight-infra-stack
# opendaylight-infra-stack.sh has a required variable {stack-template} that
builders:
- shell: 'if [ -d /tmp/r ]; then rm -rf /tmp/r; fi'
-- builder:
- name: jacoco-nojava-workaround
- builders:
- - shell: 'mkdir -p $WORKSPACE/target/classes $WORKSPACE/jacoco/classes'
-
-- builder:
- name: check-clm
- builders:
- - sonatype-clm:
- application-name: '{application-name}'
-
-- builder:
- name: releng-check-unicode
- builders:
- - shell: |
- $WORKSPACE/scripts/check-unicode.sh jjb/
-
-- builder:
- name: provide-maven-settings
- builders:
- - config-file-provider:
- files:
- - file-id: '{global-settings-file}'
- variable: 'GLOBAL_SETTINGS_FILE'
- - file-id: '{settings-file}'
- variable: 'SETTINGS_FILE'
-
-- builder:
- name: releng-fetch-p2zip-if-necessary
- builders:
- - shell: |
- # Cleanup any existing zips and metadata before we download the new update site
- rm -f *.zip *.xml
- - conditional-step:
- condition-kind: strings-match
- condition-string1: '$P2ZIP_URL'
- condition-string2: ''
- condition-basedir: workspace
- steps:
- # TODO: Figure out latest snapshot version number to pull rather than hardcoding 1.1.1-SNAPSHOT
- - maven-target:
- maven-version: '{maven-version}'
- goals: >
- org.apache.maven.plugins:maven-dependency-plugin:get
- org.apache.maven.plugins:maven-dependency-plugin:copy
- -V -B
- -Dartifact=org.opendaylight.yangide:org.opendaylight.yangide.update-site:1.1.1-SNAPSHOT:zip
- -DoutputDirectory=$WORKSPACE
- settings: '{settings}'
- global-settings: '{global-settings}'
-
-- builder:
- name: releng-generate-p2pom
- builders:
- - shell: !include-raw: generate-p2pom.sh
-
-- builder:
- name: releng-update-p2composite-metadata
- builders:
- - shell: !include-raw: update-p2composite-metadata.sh
- - conditional-step:
- condition-kind: file-exists
- condition-filename: deploy-composite-repo.xml
- condition-basedir: workspace
- steps:
- - maven-target:
- maven-version: '{maven-version}'
- pom: 'deploy-composite-repo.xml'
- goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
- settings: '{settings}'
- global-settings: '{global-settings}'
-
- publisher:
name: releng-openstack-stack-delete
publishers:
openstack stack delete --yes "$STACK_NAME"
mark-unstable-if-failed: false
-- builder:
- name: releng-stage-release
- builders:
- - shell: !include-raw: stage-release.sh
-
- wrapper:
# This wrapper is required for all jobs as it configures the wrappers
# needed by OpenDaylight infra.
result: 'success'
builders:
- - jacoco-nojava-workaround
- - provide-maven-settings:
+ - lf-jacoco-nojava-workaround
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: '{mvn-settings}'
- maven-target:
forbidden-files: ''
prebuilders:
- - jacoco-nojava-workaround
- - provide-maven-settings:
+ - lf-jacoco-nojava-workaround
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: '{mvn-settings}'
- lf-maven-install:
+++ /dev/null
----
-- job-template:
- name: '{project-name}-release-java'
-
- # Job template for producing a release candidate by creating a staging repo
- # in Nexus.
-
- project-type: freestyle
- node: '{build-node}'
- jdk: '{java-version}'
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: 30
-
- parameters:
- - opendaylight-infra-parameters:
- os-cloud: '{os-cloud}'
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - build-tag
- - stage-id-parameter:
- stage-id: '{stage-id}'
-
- scm:
- - git:
- credentials-id: 'opendaylight-jenkins-ssh'
- url: '$GIT_BASE'
- branches:
- - '$BUILD_TAG'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: true
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- builders:
- - wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: 'autorelease-settings'
- - maven-target:
- maven-version: 'mvn35'
- pom: 'pom.xml'
- goals: >
- clean deploy -V -B
- -Dmaven.repo.local=/tmp/r
- -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
- -Djenkins
- -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
- java-opts:
- - '-Xmx1024m -XX:MaxPermSize=256m'
- settings: 'autorelease-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - releng-stage-release
-
- publishers:
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[releng]'
- - lf-infra-publish
-
-
-- job-template:
- name: '{project-name}-publish-p2repo'
-
- # Job template for publishing a p2 repo given a URL to a zipped p2repo.
-
- project-type: freestyle
- node: '{build-node}'
- jdk: '{java-version}'
-
- parameters:
- - opendaylight-infra-parameters:
- os-cloud: '{os-cloud}'
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - p2zip-parameter
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- builders:
- - wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - releng-fetch-p2zip-if-necessary:
- maven-version: 'mvn35'
- settings: '{mvn-settings}'
- global-settings: 'global-settings'
- - releng-generate-p2pom
- - maven-target:
- maven-version: 'mvn35'
- pom: 'pom.xml'
- goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - releng-update-p2composite-metadata:
- maven-version: 'mvn35'
- settings: '{mvn-settings}'
- global-settings: 'global-settings'
-
- publishers:
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[releng]'
- - lf-infra-publish
--- /dev/null
+---
+# TODO: Remove this files after the next global-jjb 2.6.x release
+# which supports the view-templates.
+# This file is temporariy added here from the below changes from global-jjb.
+# This file is included here to avoid rebases.
+# https://gerrit.linuxfoundation.org/infra/#/c/13268
+# https://gerrit.linuxfoundation.org/infra/#/c/12989
+
+########################
+# common view template #
+########################
+
+- lf_view_common_columns: &lf_view_common_columns
+ name: lf-view-common-columns
+
+ columns:
+ - status
+ - weather
+ - job
+ - last-success
+ - last-failure
+ - last-duration
+ - build-button
+ - jacoco
+ - find-bugs
+
+- view-template:
+ id: 'common-view'
+ name: '{view-name}'
+
+ ######################
+ # Default parameters #
+ ######################
+
+ view-description: 'View using common-view template.'
+ view-filter-executors: false
+ view-filter-queue: false
+ view-recurse: false
+
+ ######################
+ # view Configuration #
+ ######################
+
+ view-type: list
+ description: '{view-description}'
+ filter-executors: '{view-filter-executors}'
+ filter-queue: '{view-filter-queue}'
+ recurse: '{view-recurse}'
+ regex: '{view-regex}'
+ <<: *lf_view_common_columns
+
+######################
+# CSIT view template #
+######################
+
+- view-template:
+ id: 'csit-view'
+ name: '{view-name}'
+
+ ######################
+ # Default parameters #
+ ######################
+
+ view-description: 'CSIT jobs.'
+ view-filter-executors: false
+ view-filter-queue: false
+ view-recurse: false
+
+ ######################
+ # view Configuration #
+ ######################
+
+ view-type: list
+ description: '{view-description}'
+ filter-executors: '{view-filter-executors}'
+ filter-queue: '{view-filter-queue}'
+ recurse: '{view-recurse}'
+ regex: '{view-regex}'
+ columns:
+ - status
+ - weather
+ - job
+ - last-success
+ - last-failure
+ - last-duration
+ - build-button
+ - robot-list
+
+#########################
+# project view template #
+#########################
+
+- view-template:
+ id: 'project-view'
+ name: '{project-name}'
+
+ ######################
+ # Default parameters #
+ ######################
+
+ view-filter-executors: false
+ view-filter-queue: false
+ view-recurse: false
+
+ ######################
+ # view Configuration #
+ ######################
+
+ view-type: list
+ description: 'List of jobs for {project-name}.'
+ filter-executors: '{view-filter-executors}'
+ filter-queue: '{view-filter-queue}'
+ recurse: '{view-recurse}'
+ regex: '^{project-name}-.*'
+ <<: *lf_view_common_columns
+
- robot-list
recurse: false
-- view:
+- project:
name: '00-Empty View'
- description: >
+ views:
+ - common-view
+ view-name: '00-Empty View'
+ view-description: >
Empty job view. This is used as the default landing view to keep the
Jenkins UI responding better while a) under high load and b) when there
- are a lot of jobs defined in the system'
- view-type: list
- filter-executors: false
- filter-queue: false
- recurse: false
- regex: ''
+ are a lot of jobs defined in the system
+ view-regex: ''
- view:
name: 01-Recent
check-start-time: true
<<: *releng_view_common
-- view:
+- project:
name: All-Sonar
- regex: '.*-sonar$'
- description: 'List of Sonar jobs'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: All-Sonar
+ view-regex: '.*-sonar$'
+ view-description: 'List of Sonar jobs'
- view:
name: CLM
- policy-violations
recurse: false
-- view:
+- project:
name: CSIT-1node
- description: 'List of CSIT 1node jobs'
- regex: '^.*-csit-1node.*'
- <<: *integration_view_csit
+ views:
+ - csit-view
+ view-name: CSIT-1node
+ view-description: 'List of CSIT 1node jobs'
+ view-regex: '^.*-csit-1node.*'
-- view:
+- project:
name: CSIT-3node
- description: 'List of CSIT 3node jobs'
- regex: '^.*-csit-3node.*'
- <<: *integration_view_csit
+ views:
+ - csit-view
+ view-name: CSIT-3node
+ view-description: 'List of CSIT 3node jobs'
+ view-regex: '^.*-csit-3node.*'
-- view:
+- project:
name: CSIT
- description: 'List of CSIT jobs'
- regex: '^.*-csit-.*'
- <<: *integration_view_csit
+ views:
+ - csit-view
+ view-name: CSIT
+ view-description: 'List of CSIT jobs'
+ view-regex: '^.*-csit-.*'
-- view:
+- project:
name: CSIT-Verify
- description: 'List of CSIT Verify jobs'
- regex: '^.*-csit-verify.*'
- <<: *integration_view_csit
+ views:
+ - csit-view
+ view-name: CSIT-Verify
+ view-description: 'List of CSIT Verify jobs'
+ view-regex: '^.*-csit-verify.*'
-- view:
+- project:
name: Distribution-Check
- description: 'List of Distribution Check jobs'
- regex: '.*-distribution.*-check-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Distribution-Check
+ view-description: 'List of Distribution Check jobs'
+ view-regex: '.*-distribution.*-check-.*'
-- view:
+- project:
name: Distribution-Jobs
- description: >
+ views:
+ - common-view
+ view-name: Distribution-Jobs
+ view-description: >
List of Distribution jobs (test, check, merge, deploy, offline, verify)
- regex: '^.*-distribution-(?!(test|check|merge|deploy|offline|verify)).*'
- <<: *releng_view_common
+ view-regex: '^.*-distribution-(?!(test|check|merge|deploy|offline|verify)).*'
-- view:
+- project:
name: Gate
- description: 'List of Gate jobs'
- regex: '.*-gate-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Gate
+ view-description: 'List of Gate jobs'
+ view-regex: '.*-gate-.*'
-- view:
+- project:
name: Integration
- description: 'List of Integration jobs'
- regex: '.*-integration-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Integration
+ view-description: 'List of Integration jobs'
+ view-regex: '.*-integration-.*'
-- view:
+- project:
name: Merge-Jobs
- description: 'List of Merge jobs'
- regex: '.*-merge-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Merge-Jobs
+ view-description: 'List of Merge jobs'
+ view-regex: '.*-merge-.*'
-- view:
+- project:
name: Patch-Test
- description: 'List of Patch-Test jobs, for prioritizing jobs via the Job Priorities plugin'
- regex: '.*-patch-test-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Patch-Test
+ view-description: 'List of Patch-Test jobs, for prioritizing jobs via the Job Priorities plugin'
+ view-regex: '.*-patch-test-.*'
-- view:
+- project:
name: Periodic
- description: 'List of Periodic jobs'
- regex: '[a-zA-Z0-9]+-periodic-[a-zA-Z0-9]+'
- <<: *releng_view_common
-
-- view:
+ project: Periodic
+ project-name: Periodic
+ view-name: Periodic
+ views:
+ - common-view
+ view-description: 'List of Periodic jobs'
+ view-regex: '[a-zA-Z0-9]+-periodic-[a-zA-Z0-9]+'
+
+- project:
name: Release
- description: 'List of Release jobs'
- regex: '.*-release-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Release
+ view-description: 'List of Release jobs'
+ view-regex: '.*-release-.*'
-- view:
+- project:
name: Sanity
- description: 'List of Sanity jobs'
- regex: '.*-sanity-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Sanity
+ view-description: 'List of Sanity jobs'
+ view-regex: '.*-sanity-.*'
-- view:
+- project:
name: Thirdparty
- description: 'List of ODL Nexus Thirdparty dependencies jobs'
- regex: '.*-thirdparty-.*'
- <<: *releng_view_common
-
-- view:
- name: Validate
- description: 'List of Validate jobs'
- regex: '.*-validate-autorelease-.*'
- <<: *releng_view_common
-
-- view:
+ views:
+ - common-view
+ view-name: Thirdparty
+ view-description: 'List of ODL Nexus Thirdparty dependencies jobs'
+ view-regex: '.*-thirdparty-.*'
+
+- project:
+ name: Validate-AR
+ views:
+ - common-view
+ view-name: Validate
+ view-description: 'List of Validate jobs'
+ view-regex: '.*-validate-autorelease-.*'
+
+- project:
name: Verify
- description: 'List of Verify jobs, exluding CSIT jobs'
- regex: '^(?!.*-csit).*-verify-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Verify
+ view-description: 'List of Verify jobs, exluding CSIT jobs'
+ view-regex: '^(?!.*-csit).*-verify-.*'
-- view:
+- project:
name: builder
- description: 'List of builder jobs'
- regex: '^builder-.*'
- <<: *releng_view_common
+ views:
+ - project-view
+ project-name: builder
name: sdninterfaceapp-sonar
jobs:
- gerrit-maven-sonar
+
project: 'sdninterfaceapp'
project-name: 'sdninterfaceapp'
branch: 'master'
mvn-settings: 'sdninterfaceapp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: sdninterfaceapp
- description: 'List of sdninterfaceapp jobs'
- regex: '^sdninterfaceapp-.*'
- <<: *releng_view_common
+- project:
+ name: sdninterfaceapp-view
+ views:
+ - project-view
+ project-name: sdninterfaceapp
name: serviceutils-sonar
jobs:
- gerrit-maven-sonar
+
project: 'serviceutils'
project-name: 'serviceutils'
branch: 'master'
mvn-settings: 'serviceutils-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: serviceutils
- description: 'List of serviceutils jobs'
- regex: '^serviceutils-.*'
- <<: *releng_view_common
+- project:
+ name: serviceutils-view
+ views:
+ - project-view
+ project-name: serviceutils
mvn-settings: 'sfc-settings'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
-- view:
- name: sfc
- description: 'List of sfc jobs'
- regex: '^sfc-.*'
- <<: *releng_view_common
+- project:
+ name: sfc-view
+ views:
+ - project-view
+ project-name: sfc
mvn-settings: 'snbi-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: snbi
- description: 'List of snbi jobs'
- regex: '^snbi-.*'
- <<: *releng_view_common
+- project:
+ name: snbi-view
+ views:
+ - project-view
+ project-name: snbi
mvn-settings: 'snmp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: snmp
- description: 'List of snmp jobs'
- regex: '^snmp-.*'
- <<: *releng_view_common
+- project:
+ name: snmp-view
+ views:
+ - project-view
+ project-name: snmp
name: snmp4sdn-sonar
jobs:
- gerrit-maven-sonar
+
project: 'snmp4sdn'
project-name: 'snmp4sdn'
branch: 'master'
mvn-settings: 'snmp4sdn-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: snmp4sdn
- description: 'List of snmp4sdn jobs'
- regex: '^snmp4sdn-.*'
- <<: *releng_view_common
+- project:
+ name: snmp4sdn-view
+ views:
+ - project-view
+ project-name: snmp4sdn
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2016 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-
-# Assuming that mvn deploy created the hide/from/pom/files/stage directory.
-cd hide/from/pom/files || exit 1
-mkdir -p m2repo/org/opendaylight/
-
-rsync -avz --exclude 'maven-metadata*' \
- --exclude '_remote.repositories' \
- --exclude 'resolver-status.properties' \
- "stage/org/opendaylight/$PROJECT" m2repo/org/opendaylight/
-
-mvn org.sonatype.plugins:nexus-staging-maven-plugin:1.6.2:deploy-staged-repository \
- -DrepositoryDirectory="$(pwd)/m2repo" \
- -DnexusUrl=https://nexus.opendaylight.org/ \
- -DstagingProfileId="$STAGING_PROFILE_ID" \
- -DserverId="opendaylight-staging" \
- -s "$SETTINGS_FILE" \
- -gs "$GLOBAL_SETTINGS_FILE" | tee "$WORKSPACE/deploy-staged-repository.log"
mvn-settings: 'sxp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: sxp
- description: 'List of sxp jobs'
- regex: '^sxp-.*'
- <<: *releng_view_common
+- project:
+ name: sxp-view
+ views:
+ - project-view
+ project-name: sxp
mvn-settings: 'systemmetrics-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: systemmetrics
- description: 'List of systemmetrics jobs'
- regex: '^systemmetrics-.*'
- <<: *releng_view_common
+- project:
+ name: systemmetrics-view
+ views:
+ - project-view
+ project-name: systemmetrics
mvn-goals: 'clean install'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: telemetry
- description: 'List of telemetry jobs'
- regex: '^telemetry-.*'
- <<: *releng_view_common
+- project:
+ name: telemetry-view
+ views:
+ - project-view
+ project-name: telemetry
mvn-settings: 'transportpce-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: transportpce
- description: 'List of transportpce jobs'
- regex: '^transportpce-.*'
- <<: *releng_view_common
+- project:
+ name: transportpce-view
+ views:
+ - project-view
+ project-name: transportpce
mvn-settings: 'tsdr-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: tsdr
- description: 'List of tsdr jobs'
- regex: '^tsdr-.*'
- <<: *releng_view_common
+- project:
+ name: tsdr-view
+ views:
+ - project-view
+ project-name: tsdr
name: ttp-sonar
jobs:
- gerrit-maven-sonar
+
project: 'ttp'
project-name: 'ttp'
branch: 'master'
mvn-settings: 'ttp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: ttp
- description: 'List of ttp jobs'
- regex: '^ttp-.*'
- <<: *releng_view_common
+- project:
+ name: ttp-view
+ views:
+ - project-view
+ project-name: ttp
name: unimgr-sonar
jobs:
- gerrit-maven-sonar
+
project: 'unimgr'
project-name: 'unimgr'
branch: 'master'
mvn-settings: 'unimgr-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: unimgr
- description: 'List of unimgr jobs'
- regex: '^unimgr-.*'
- <<: *releng_view_common
+- project:
+ name: unimgr-view
+ views:
+ - project-view
+ project-name: unimgr
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2016 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-
-# If we detect a snapshot build then there is no need to run this script.
-# YangIDE has indicated that the only want the latest snapshot released to
-# the snapshot directory.
-if echo "$P2ZIP_URL" | grep opendaylight.snapshot; then
- exit 0
-fi
-if [[ "$P2ZIP_URL" == "" ]]; then
- exit 0
-fi
-
-EPOCH_DATE=$(date +%s%3N)
-MVN_METADATA=$(echo "$P2ZIP_URL" | sed 's,/*[^/]\+/*$,,' | sed 's,/*[^/]\+/*$,,')/maven-metadata.xml
-P2_COMPOSITE_ARTIFACTS=compositeArtifacts.xml
-P2_COMPOSITE_CONTENT=compositeContent.xml
-
-wget "$MVN_METADATA" -O maven-metadata.xml
-
-VERSIONS=$(xmlstarlet sel -t -m "/metadata/versioning/versions" -v "version" maven-metadata.xml)
-NUM_VERSIONS=$(echo "$VERSIONS" | wc -w)
-
-
-##
-## Create compositeArtifacts.xml and compositeContent.xml files
-##
-
-cat > $P2_COMPOSITE_ARTIFACTS <<EOF
-<?xml version='1.0' encoding='UTF-8'?>
-<?compositeArtifactRepository version='1.0.0'?>
-<repository name='OpenDaylight $PROJECT'
- type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
- <properties size='1'>
- <property name='p2.timestamp' value='$EPOCH_DATE'/>
- </properties>
- <children size='$NUM_VERSIONS'>
-EOF
-
-cat > $P2_COMPOSITE_CONTENT <<EOF
-<?xml version='1.0' encoding='UTF-8'?>
-<?compositeMetadataRepository version='1.0.0'?>
-<repository name='OpenDaylight $PROJECT'
- type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
- <properties size='1'>
- <property name='p2.timestamp' value='$EPOCH_DATE'/>
- </properties>
- <children size='$NUM_VERSIONS'>
-EOF
-
-##
-## Loop versions
-##
-
-for ver in $VERSIONS
-do
- echo " <child location='$ver'/>" >> $P2_COMPOSITE_ARTIFACTS
- echo " <child location='$ver'/>" >> $P2_COMPOSITE_CONTENT
-done
-
-##
-## Close files
-##
-
-cat >> $P2_COMPOSITE_ARTIFACTS <<EOF
- </children>
-</repository>
-EOF
-
-cat >> $P2_COMPOSITE_CONTENT <<EOF
- </children>
-</repository>
-EOF
-
-##
-## Create poms for uploading
-##
-
-zip composite-repo.zip $P2_COMPOSITE_ARTIFACTS $P2_COMPOSITE_CONTENT
-
-cat > deploy-composite-repo.xml <<EOF
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.opendaylight.$PROJECT</groupId>
- <artifactId>p2repo</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.8.2</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>maven-upload-plugin</artifactId>
- <version>0.0.1</version>
- <executions>
- <execution>
- <id>publish-site</id>
- <phase>deploy</phase>
- <goals>
- <goal>upload-file</goal>
- </goals>
- <configuration>
- <serverId>opendaylight-p2</serverId>
- <repositoryUrl>https://nexus.opendaylight.org/service/local/repositories/p2repos/content-compressed</repositoryUrl>
- <file>composite-repo.zip</file>
- <repositoryPath>org.opendaylight.$PROJECT/release</repositoryPath>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
-EOF
name: usc-sonar
jobs:
- gerrit-maven-sonar
+
project: 'usc'
project-name: 'usc'
branch: 'master'
mvn-settings: 'usc-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: usc
- description: 'List of usc jobs'
- regex: '^usc-.*'
- <<: *releng_view_common
+- project:
+ name: usc-view
+ views:
+ - project-view
+ project-name: usc
mvn-settings: 'usecplugin-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: usecplugin
- description: 'List of usecplugin jobs'
- regex: '^usecplugin-.*'
- <<: *releng_view_common
+- project:
+ name: usecplugin-view
+ views:
+ - project-view
+ project-name: usecplugin
mvn-settings: 'yangtools-settings'
mvn-opts: '-Xmx1024m'
-- view:
- name: yangtools
- description: 'List of yangtools jobs'
- regex: '^yangtools-.*'
- <<: *releng_view_common
+- project:
+ name: yangtools-view
+ views:
+ - project-view
+ project-name: yangtools
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2015 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Thanh Ha (The Linux Foundation) - Initial implementation
-##############################################################################
-
-directory=${1:-"."}
-
-echo "Scanning $directory"
-if LC_ALL=C grep -r '[^[:print:][:space:]]' "$directory"; then
- echo "Found files containing non-ascii characters."
- exit 1
-fi
-
-echo "All files are ASCII only"