From 57562b3160a724f5bf73a4ffab75f27bab568d3b Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Thu, 12 May 2016 04:05:01 +0000 Subject: [PATCH] Revert "Changes to accomodate vpp throttle branch." This reverts commit 5d1d00330488903ae810de20bfd035fde9cdc25a. This reverts gerrit: https://gerrit.fd.io/r/#/c/1074/ Change-Id: I5d937a4486ae7426debefdfaf85019508253c3f0 Signed-off-by: Ed Warnicke --- jjb/vpp/include-raw-vpp-maven-push.sh | 32 ++++++++++---------------------- jjb/vpp/vpp.yaml | 20 +++++++------------- 2 files changed, 17 insertions(+), 35 deletions(-) diff --git a/jjb/vpp/include-raw-vpp-maven-push.sh b/jjb/vpp/include-raw-vpp-maven-push.sh index 752b3337e..4d370942b 100644 --- a/jjb/vpp/include-raw-vpp-maven-push.sh +++ b/jjb/vpp/include-raw-vpp-maven-push.sh @@ -12,27 +12,15 @@ BASEURL="${NEXUSPROXY}/content/repositories/fd.io." BASEREPOID='fdio-' declare -A REPO_TARGET REPOID_TARGET=( - [master:ubuntu1404]="${BASEREPOID}master.ubuntu.trusty.main" - [master:ubuntu1604]="${BASEREPOID}master.ubuntu.xenial.main" - [master:centos7]="${BASEREPOID}master.centos7" - [stable/test:ubuntu1404]="${BASEREPOID}stable.test.ubuntu.trusty.main" - [stable/test:ubuntu1604]="${BASEREPOID}stable.test.ubuntu.xenial.main" - [stable/test:centos7]="${BASEREPOID}stable.test.centos7" - [stable/1606:ubuntu1404]="${BASEREPOID}stable.1606.ubuntu.trusty.main" - [stable/1606:ubuntu1604]="${BASEREPOID}stable.1606.ubuntu.xenial.main" - [stable/1606:centos7]="${BASEREPOID}stable.1606.centos7" + [ubuntu1404]="${BASEREPOID}dev" + [ubuntu1604]="${BASEREPOID}ubuntu.xenial.main" + [centos7]="${BASEREPOID}yum" ) declare -A REPOURL_TARGET REPOURL_TARGET=( - [master:ubuntu1404]="${BASEURL}master.ubuntu.trusty.main" - [master:ubuntu1604]="${BASEURL}master.ubuntu.xenial.main" - [master:centos7]="${BASEURL}master.centos7" - [stable/test:ubuntu1404]="${BASEURL}stable.test.ubuntu.trusty.main" - [stable/test:ubuntu1604]="${BASEURL}stable.test.ubuntu.xenial.main" - [stable/test:centos7]="${BASEURL}stable.test.centos7" - [stable/1606:ubuntu1404]="${BASEURL}stable.1606.ubuntu.trusty.main" - [stable/1606:ubuntu1604]="${BASEURL}stable.1606.ubuntu.xenial.main" - [stable/1606:centos7]="${BASEURL}stable.1606.centos7" + [ubuntu1404]="${BASEURL}dev" + [ubuntu1604]="${BASEURL}ubuntu.xenial.main" + [centos7]="${BASEURL}yum" ) function push_file () @@ -81,8 +69,8 @@ function push_jar () function push_deb () { debfile=$1 - repoId=${REPOID_TARGET[${GERRIT_BRANCH}:${OS}]} - url="${REPOURL_TARGET[${GERRIT_BRANCH}:${OS}]}" + repoId=${REPOID_TARGET[${OS}]} + url="${REPOURL_TARGET[${OS}]}" basefile=$(basename -s .deb "$debfile") artifactId=$(echo "$basefile" | cut -f 1 -d '_') @@ -94,8 +82,8 @@ function push_deb () function push_rpm () { rpmfile=$1 - repoId=${REPOID_TARGET[${GERRIT_BRANCH}:${OS}]} - url="${REPOURL_TARGET[${GERRIT_BRANCH}:${OS}]}" + repoId=${REPOID_TARGET[${OS}]} + url="${REPOURL_TARGET[${OS}]}" if grep -qE '\.s(rc\.)?rpm' <<<"$rpmfile" then diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 3b25b0cd4..e9815d9de 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -1,22 +1,16 @@ - project: name: vpp jobs: - - 'vpp-verify-{stream}-{os}' - - 'vpp-merge-{stream}-{os}' - - 'vpp-verify-image-{stream}-{os}' + - 'vpp-verify-{branch}-{os}' + - 'vpp-merge-{branch}-{os}' + - 'vpp-verify-image-{branch}-{os}' project: 'vpp' os: - ubuntu1404 - centos7 - ubuntu1604 - stream: - - master: - branch: master - - test: - branch: stable/test - - 1606: - branch: stable/1606 + branch: 'master' type: - short - long @@ -35,7 +29,7 @@ - long - job-template: - name: 'vpp-verify-{stream}-{os}' + name: 'vpp-verify-{branch}-{os}' project-type: freestyle node: 'verify-{os}' @@ -76,7 +70,7 @@ !include-raw-escape include-raw-vpp-build.sh - job-template: - name: 'vpp-verify-image-{stream}-{os}' + name: 'vpp-verify-image-{branch}-{os}' project-type: freestyle node: 'verify-image-{os}' @@ -130,7 +124,7 @@ !include-raw-escape include-raw-vpp-build.sh - job-template: - name: 'vpp-merge-{stream}-{os}' + name: 'vpp-merge-{branch}-{os}' project-type: freestyle node: 'merge-{os}' -- 2.16.6