unzip -q ${BUNDLE}
echo "Adding external repositories..."
-sed -ie "s%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g" ${MAVENCONF}
+sed -ie "s%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g" ${MAVENCONF}
cat ${MAVENCONF}
echo "Configuring the startup features..."
fi
sed -ie "s%\(featuresRepositories=\|featuresRepositories =\)%featuresRepositories = mvn:org.opendaylight.integration/\${FEATURE_TEST_STRING}/${BUNDLEVERSION}/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.0.0/xml/features,%g" ${FEATURESCONF}
+if [[ ! -z "${REPO_URL}" ]]; then
+ sed -ie "s%featuresRepositories =%featuresRepositories = ${REPO_URL},%g" ${FEATURESCONF}
+fi
cat ${FEATURESCONF}
if [ "${ODL_ENABLE_L3_FWD}" == "yes" ]; then
unzip -q ${BUNDLE}
echo "Adding external repositories..."
-sed -ie "s%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g" ${MAVENCONF}
+sed -ie "s%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g" ${MAVENCONF}
cat ${MAVENCONF}
if [[ "$USEFEATURESBOOT" == "True" ]]; then
fi
sed -ie "s%\(featuresRepositories=\|featuresRepositories =\)%featuresRepositories = mvn:org.opendaylight.integration/\${FEATURE_TEST_STRING}/${BUNDLEVERSION}/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.0.0/xml/features,%g" ${FEATURESCONF}
+if [[ ! -z "${REPO_URL}" ]]; then
+ sed -ie "s%featuresRepositories =%featuresRepositories = ${REPO_URL},%g" ${FEATURESCONF}
+fi
cat ${FEATURESCONF}
if [ "${ODL_ENABLE_L3_FWD}" == "yes" ]; then
default: '{bundle-url}'
description: 'URL to karaf distribution zip'
+- parameter:
+ name: integration-repo-url
+ parameters:
+ - string:
+ name: REPO_URL
+ default: '{repo-url}'
+ description: 'URL to feature repo artifact'
+
- parameter:
name: integration-jdk-version
parameters:
stream: '{verify-stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-scope:
controller-scope: 'only'
- integration-controller-features:
stream: '{stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
stream: '{stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
stream: '{verify-stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-scope:
controller-scope: 'only'
- integration-controller-features:
stream: '{stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
stream: '{stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
stream: '{stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
stream: '{stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-features:
controller-features: '{install-features}'
- integration-controller-debug-map:
stream: '{stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-features:
controller-features: '{install-features}'
- integration-controller-debug-map:
# Distribution bundle URL
bundle-url: 'last'
+ repo-url: ''
# CSIT images configuration
openstack_system_image_ocata: ZZCI - CentOS 7 - devstack-ocata - 20171208-1649
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/usc/job/usc-merge-fluorine/lastBuild/org.opendaylight.usc$usc-karaf/artifact/org.opendaylight.usc/usc-karaf/1.6.0-SNAPSHOT/usc-karaf-1.6.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.usc/usc-features/1.6.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
stream:
- fluorine:
branch: 'master'
+ # yamllint disable-line rule:line-length
+ repo-url: 'mvn:org.opendaylight.usc/usc-features/1.6.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen: